Skip to main content
Topic: qt6 dark theme (Read 803 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

qt6 dark theme

I installed from the AUR qt6ct-git because kvantum theme is broken for nheko-git, with qt6.
nheko it is not releasing since long time so I installed the git version.

I now started kclock because I could not before cause a missing dep qqc2-desktop-style:
Code: [Select]
kclock
...
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml: module "org.kde.desktop" is not installed

It is using a light theme with only the button in Settings-> Time Format following the kvantum theme.

Can I set there a dark theme?

I also use qt5ct with currently adwaita-dark because I cannot select kvatum there anymore.
Not sure why is it my custom theme maybe? or qt6ct-git?
I believe that kclock is qt6 now.

Re: qt6 dark theme

Reply #1
Look for conflicts in the environment between qt5ct and qt6ct, if i remember correctly only qt6ct has to be set and only on QT_QPA_PLATFORMTHEME.
Maybe also play around with QT_STYLE_OVERRIDE between empty, qt6ct and kvantum too if it still fails.

 

Re: qt6 dark theme

Reply #2
When I open qt6ct it states that I need to set either qt5ct or qt6ct for QT_QPA_PLATFORMTHEME.
And to unset QT_STYLE_OVERRIDE.

I have qt5ct for QT_QPA_PLATFORMTHEME and no QT_STYLE_OVERRIDE.

For qt5 I did not notice kvantum-qt5 package, I now can select my kvantum custom theme in qt5ct.