QT Applications (with qt6ct-kde)
QT is one of the most popular toolkits for creating Unix GUI applications. We can use qt6ct-kde to theme KDE applications like Dolphin.
Install qt6ct-kde
You can install qt6ct-kde from AUR (Arch User Repository).
bash
yay -S qt6ct-kdeLink
Add the following line to the configuration:
toml
[links]
"qtct.colors" = "~/.config/qt6ct/colors/rong.colors"INFO
You need to generate colors for these configuration files to be created. Run:
bash
rong video path/to/image/or/videoSettings
Now, open qt6ct-kde by running qt6ct or using a launcher to search for "QT6 settings". Set Color scheme: to Rong (KColorScheme).
Environment Variable
Now, run any QT application with QT_QPA_PLATFORMTHEME=qt6ct. For example:
bash
QT_QPA_PLATFORMTHEME=qt6ct dolphinFor convenience, you can set QT_QPA_PLATFORMTHEME=qt6ct in your global Environment Variables. For Hyprland:
ini
env = QT_QPA_PLATFORMTHEME,qt6ctReload
The qt6ct settings auto-reload on generation, but you need to restart applications for them to apply the new theme.