You are not logged in.

#1 2022-03-26 10:23:31

drquadriple
Member
Registered: 2022-03-04
Posts: 6

[SOLVED] QT5CT error leading to configuration becoming impossible.

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

#2 2022-03-26 10:42:59

drquadriple
Member
Registered: 2022-03-04
Posts: 6

Re: [SOLVED] QT5CT error leading to configuration becoming impossible.

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

#3 2022-03-26 10:44:10

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,292

Re: [SOLVED] QT5CT error leading to configuration becoming impossible.

What is the exact command you're using to set it in /etc/environment?

Offline

#4 2022-03-26 18:43:10

teckk
Member
Registered: 2013-02-21
Posts: 588

Re: [SOLVED] QT5CT error leading to configuration becoming impossible.

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

Board footer

Powered by FluxBB