compile:一些基本编译配置修改。

This commit is contained in:
2024-09-14 09:08:24 +08:00
parent 6896fa5090
commit 2bfddf1ef7
4 changed files with 8 additions and 6 deletions

View File

@@ -12,6 +12,10 @@ int main(int argc, char *argv[])
a.setStyle("fusion");
#endif
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
MainWidget w;
w.set_work_exe(argv[0]);
w.show();