(Written in response to the recent various "icons not being drawn" comments.)
qt5ct creates (or requires the user to create) the environment argument QT_QPA_PLATFORMTHEME with the value qt5ct.
The code supplied below detects the existence of the environment argument, checks its value, and if relevant adds a (blank) argument to be passed to the invocation of QApplication. This appears to causes Qt to ignore the environment value and fallback on the default platform theme.
A fix doesn't seem to be needed for the 0.6/develop branch.
(Written in response to the recent various "icons not being drawn" comments.)
qt5ct
creates (or requires the user to create) the environment argumentQT_QPA_PLATFORMTHEME
with the valueqt5ct
.The code supplied below detects the existence of the environment argument, checks its value, and if relevant adds a (blank) argument to be passed to the invocation of
QApplication
. This appears to causes Qt to ignore the environment value and fallback on the default platform theme.A fix doesn't seem to be needed for the
0.6
/develop
branch.