You are not logged in.

#1 2025-11-09 18:56:41

tethys
Member
Registered: 2019-08-13
Posts: 162

[SOLVED] Easiest way to set a dark theme for a qt6 application

What is the easiest way to set a dark theme for a qt6 (doublecmd-qt6) application? I am using openbox/xorg.

I read the Arch Wiki but it is not clear if qt6ct can set a dark theme, or if using the qt6ct is the easiest way.

Last edited by tethys (2025-11-09 21:18:20)

Offline

#2 2025-11-09 19:32:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: [SOLVED] Easiest way to set a dark theme for a qt6 application

Qt themes are typically color configurable and qt6ct allows you to manage palettes.
If you're using sth. like KDE you'd better use its configuration and for gnome Qt can also just pickup the GTK theme.

Offline

#3 2025-11-09 21:18:58

tethys
Member
Registered: 2019-08-13
Posts: 162

Re: [SOLVED] Easiest way to set a dark theme for a qt6 application

Right, thank you seth.
You can actually choose a "darker" theme from qt6ct and after exporting QT_QPA_PLATFORMTHEME=qt6ct the doublecmd-qt6 has a dark theme.

Offline

Board footer

Powered by FluxBB