更新代码

This commit is contained in:
feiyangqingyun
2022-05-01 11:39:49 +08:00
parent 7bed44d9c0
commit 08ba30bb87
17 changed files with 869 additions and 87 deletions

View File

@@ -4,15 +4,7 @@
int main(int argc, char *argv[])
{
//设置不应用操作系统设置比如字体
QApplication::setDesktopSettingsAware(false);
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
QApplication::setAttribute(Qt::AA_Use96Dpi);
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5,14,0))
QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Floor);
#endif
QUIHelper::initMain();
QApplication a(argc, argv);
AppInit::Instance()->start();