This tool works for both qt5 and qt6.
Remember you can not mix different environment together (by which I mean MSVC or mingw). The apps have to be compiled with the same compiler that compiles qtct.
You can find several new styles in qtstyleplugins (You need to compile with the same compiler)
You can put icons theme in ~\.icons
For kvantum, you can use kvantum-for-windows
- Download the latest release and extract in a folder.
- Set env variable
QT_QPA_PLATFORMTHEME=qtct
. - Set env variable
QT_STYLE_OVERRIDE=qtct-style
. - Go to each app root folder and create a soft link from
<qtct path>/styles
to<your app path>\styles
and forplatformthemes
as well. (Instead setting env variableQT_PLUGIN_PATH=<path to your qtct>;
has the same effect. However, doing so overwrite the app custom plugin path.) - Notice: if selected style is not applied to certain apps, its most probably that the app hardcoded its own style. You will have to compile from source, download the source, set the content of
src\qtct-style-hack\qtct.json
to the style that the application is using, compile and replace the original style withstyles/qtct-style-hack.dll
in the app directory styles. (My release version contains hack for breeze theme, which is default to kde apps)
qtct.exe
- Qt configuration toolplatformthemes/qtct.dll
- qtct platform pluginstyles/qtct-style.dll
- qtct proxy style plugin%LocalAppData%/qtct/qtct.conf
- configuration file%LocalAppData%/qtct/qss
,%LocalAppData%/qtct/colors
,share/qss
,share/colors
style sheets and colorsmklink.bat
drag app folder on it to auto create soft link into app folder.