Skip to content

Commit

Permalink
Carry over all QT variables in child process (BugFix) (#1281)
Browse files Browse the repository at this point in the history
Carry over all QT variables in child process
  • Loading branch information
Hook25 authored Jun 11, 2024
1 parent b13fa29 commit 397306c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions checkbox-ng/plainbox/impl/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ def get_execution_environment(job, environ, session_id, nest_dir):
"LD_LIBRARY_PATH",
"GI_TYPELIB_PATH",
"PERL5LIB",
"QT_PLUGIN_PATH",
"QT_QPA_PLATFORM",
"QT_QPA_PLATFORMTHEME",
"QT_DEBUG_PLUGINS",
]
for key, value in env.items():
if key in copy_vars or key.startswith("SNAP"):
Expand Down Expand Up @@ -632,6 +636,10 @@ def get_differential_execution_environment(
"PROVIDERPATH",
"PYTHONPATH",
"PERL5LIB",
"QT_PLUGIN_PATH",
"QT_QPA_PLATFORM",
"QT_QPA_PLATFORMTHEME",
"QT_DEBUG_PLUGINS",
]
for key, value in base_env.items():
if key in copy_vars or key.startswith("SNAP"):
Expand Down

0 comments on commit 397306c

Please sign in to comment.