Shapes of control are shrinked on 4k displays d
Solved
General and Desktop
-
Did you already check the HighDPI chapter in Qt's documentation ?
-
If you follow the link to the attribute documentation, you can find QCoreApplication::setAttribute.
-
@Pavel_47 said in Shapes of control are shrinked on 4k displays d:
AA_EnableHighDpiScaling
As explained in the documentation of this enum, it must be set before creating a QGuiApplication instance (which is also valid for QApplication since it's based on QGuiApplication).