We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d93134 commit e7f4110Copy full SHA for e7f4110
addon/doxywizard/doxywizard.cpp
@@ -807,6 +807,14 @@ void MainWindow::outputLogFinish()
807
//-----------------------------------------------------------------------
808
int main(int argc,char **argv)
809
{
810
+ static const char ENV_VAR_QT_DEVICE_PIXEL_RATIO[] = "QT_DEVICE_PIXEL_RATIO";
811
+ if (!qEnvironmentVariableIsSet(ENV_VAR_QT_DEVICE_PIXEL_RATIO)
812
+ && !qEnvironmentVariableIsSet("QT_AUTO_SCREEN_SCALE_FACTOR")
813
+ && !qEnvironmentVariableIsSet("QT_SCALE_FACTOR")
814
+ && !qEnvironmentVariableIsSet("QT_SCREEN_SCALE_FACTORS")) {
815
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
816
+ }
817
+
818
QApplication a(argc,argv);
819
int locArgc = argc;
820
0 commit comments