Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to apply qtcreator's light flat theme to my app?
The new theme of QtCreator looks nice and I want to apply to my application. However, I couldn't figure it out how to do it yet. Does anyone know how to achieve it?
As far as I know , its not Qt style, but a private Creator theme
The files are here
Its based on the Fusion style and these files specify the actual colors used.
So you might be able to recreate it
p = qApp->palette();
for all colors that matters..
But as far I know, there is no way to just re-use it.
Thank you for the answer!
Qt should make it available as a style. It would be very nice if i can just enable it with '-style=fusion-dark-flat" or sth like that.
Yeah you are not the first to want that.
Often they set the dark theme and first time they run the program they want it
to stay the same colors as in design mode.
"Yeah you are not the first to want that."
Because it is commonsense :D
yeah, its easy to expect when using a WYSIWYG editor and all but the colors
are as shown as seen in design mode. :)
I looked around a bit in the code but there seems to be more into play than
just loading the theme files for Creator.
A Former User last edited by A Former User
Just as a side note: Qt Quick Controls 2 support modern, flat styles (AKA "default", "material" and "universal") OOTB.