Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Creator theme folder
Mr Gisa last edited by Mr Gisa
Where is the Qt Creator folder for the themes? I'm using Qt Creator 4.6.1.
I tried to find in
C:\Users\<user>\AppData\Roaming\QtProject\qtcreator, but there's nothing there.
I'm interested in finding the css for the Qt Creator themes, if that's possible.
But its NOT a css. more like a color table in ini format.
It uses the fusion style and the themes simply set the colors.
[Palette] shadowBackground=ff404244 text=ffd0d0d0 textDisabled=60a4a6a8 toolBarItem=b6fbfdff toolBarItemDisabled=60a4a6a8 fancyBarsNormalTextColor=ffd0d0d0 fancyBarsBoldTextColor=b6fbfdff hoverBackground=22ffffff selectedBackground=66000000 normalBackground=ff2E2F30 alternateBackground=ff353637 error=ffdf4f4f warning=ffecbc1c splitter=ff06080A textColorLink=ff007af4 textColorLinkVisited=ffa57aff backgroundColorDisabled=ff444444 ...
So it's like setting the palettes? Like this?
But Creator might have internal use that outside of setPalette as it knows the styles.
I also wanted to borrow the look but even reading the ini file and set same color
did not produce 100% same look but was close.
You can maybe find inspiration in
@mrjj Yes, I know, that is sad. I'm not actually looking for the dark theme but the flat light one, all the styles I can find is only dark (people like dark things right? haha)
I thought i was only person in the world that is not into dark themes.
Well using fusion QStyle and the colors in the flat file will get you close.
But i think some of the flatness in Creator also comes from the custom widgets.
@mrjj I will try to see if it works, if not I will stick with the fusion style without any palette.
Btw, i searched Creator source for any style sheets but i didn't find any.
I wondered if rest of theme was via qss compiled to the exe.
I tried to find the style and I couldn't, for now I won't put too much effort into this cause the application that I want to do that doesn't require that, it's just something I want to do to make it look a little bit different from the native OS style.