fix simple warning on qt6

This commit is contained in:
Andrei Yankovich 2023-03-24 15:04:48 +01:00
parent f09b097ec7
commit 91023a84d2

View File

@ -13,8 +13,9 @@ int main(int argc, char *argv[]) {
QGuiApplication::setApplicationName("CreditsExample");
QGuiApplication::setOrganizationName("QuasarApp");
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QGuiApplication app(argc, argv);