You are not logged in.
I'm running Arch with the Cinnamon DE, and after installing QT5CT to spice up my QT apps from the Arch repositories it shows this:
- "The application is not configured correctly."
I click on the "Information" to see what's wrong, and a popup window appears;
- "The QT_QPA_PLATFORMTHEME environment variable is not set correctly (current value: qt5ct , required value: qt5ct)."
which makes little to no sense, and yes before you ask. I did add `QT_QPA_PLATFORMTHEME=qt5ct`
to my `/etc/environment` directory. Cheers!
Last edited by drquadriple (2022-03-26 10:42:03)
Offline
Turns out that I needed to make a ~/.profile with `QT_QPA_PLATFORMTHEME=qt5ct`, instead of `/etc/environment/`.
Still annoying that I need to have an extra file in my home DIR, but it's not a major issue.
Offline
What is the exact command you're using to set it in /etc/environment?
Offline
You could also set that in ~/.xinitrc
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export QT_QPA_PLATFORMTHEME="qt5ct"Offline