Does anyone know how to fix this piece of shit Qt theme? I am a developer so I can modify code too.
Left needs to look like right, but it does not, because it is run as a superuser.
>>56232688
Run your qtconfig, systemsettings or what have you as superuser and adjust. Alternatively, copy your qt settings from user home to /root.
QT_STYLE_OVERRIDE="breeze"
QT5 is a piece of shit that has no config file that it honors outside of the kde settings daemon. i remember trying to run kate under a plain openbox session and getting annoyed that there was no way to set the style and font without either running the kde daemon or forcing the style with an env var
>>56232724
It ignores qtconfig completely. This is also the case on GNOME, KDE and Xfce. Where are Qt configs in ~/.config? Is it ~/.config/QtProject* ?
>>56232745
Qt says no.
>>56232773
you didn't export
>>56232786
Qt says no.
You have some options:
- Try gksudo or gksu instead of "sudo", they set some extra environment variables.
- Run your theme configuration application as sudo and set root's theme to match your user's.
- Edit your sudoers file to export/not change the original XDG_CONFIG_HOME / HOME environment variables.
>>56232841
Want some fun? Use su instead of sudo
>>56233538
gksudo is deprecated use pkexec
>>56232688
Hi, if it's kubuntu it's a known bug but is easy to fix:
https://bugs.kde.org/show_bug.cgi?id=353263
>Jason, as workaround you can create a file named /etc/sudoers.d/workaround_kde5 :
>Defaults env_keep += "KDE_SESSION_VERSION KDE_FULL_SESSION"
>I have no idea why those variables are now needed…
good luck
this is a qt 5.7 bug
check out qt5cnf