CRT clears the QT_QPA_PLATFORMTHEME environment variable for child processes #852
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried running some QT5 apps from CRT and noticed that they were not using their usual dark mode.
It turns out that CRT has cleared this variable. Why is that, and can it be fixed?
I found this by comparing the differences from running
env
in Cool Retro Term versus LXTerminal. Normally,QT_QPA_PLATFORMTHEME=qt5ct
.OS information: Raspberry Pi OS Bookworm 64-bit, CRT was installed using Pi-Apps.
It seems that the variable is cleared deliberately.
f157648d1e/app/main.cpp (L36)
As an easy fix, could the variable's original value be captured, and then passed to child processes that are launched by the shell?