Qt ugly after update.
-
I have come across something strange.
This only applies to Windows, not Linux.
If I forceQApplication::setStyle(QStyleFactory::create("Fusion"));using style Fusion it will be as expected.
If I use default style ("winndows11" for Qt6 and "windowsvista" for Qt5 I think).Before updating from Qt Creator 14.0.1 to 14.0.2 it looks like this

Qt6.7.3
Qt5.15.15And after updating to Qt Creator 14.0.2

Qt6.7.3
Qt5.15.15It can hardly have anything to do with Qt Creator, it does not help to downgrade Ct Creator.
But something must have happened.
Does anyone else recognize this? -
Sorry, I was a little too quick. This solved the problem.
if((currentstyle == "fusionStyle") || (currentstyle == "fusionDarkStyle")) { QApplication::setStyle(QStyleFactory::create("Fusion")); } else { QApplication::setStyle(QStyleFactory::create("windows11")); }But I still don't understand what happened.
-
P posktomten has marked this topic as solved on
-
The error:
QApplication::setDesktopSettingsAware(false); -
Sorry, I was a little too quick. This solved the problem.
if((currentstyle == "fusionStyle") || (currentstyle == "fusionDarkStyle")) { QApplication::setStyle(QStyleFactory::create("Fusion")); } else { QApplication::setStyle(QStyleFactory::create("windows11")); }But I still don't understand what happened.
@posktomten said in Qt ugly after update.:
But I still don't understand what happened.
Search for existing bug reports.
Don't know if everything got fixed already, but there were a lot of graphic bug with theFusionandWindows 11style in Qt 6.7
I case you face issues, it's suggested to usevistastyle or something else, until everything works as expected again.QtCreator has nothing to do with it.
-
Thanks @Pl45m4 !