2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 05:47:42 +00:00

Upgrade to Qt6

This commit is contained in:
2021-01-23 16:26:28 -08:00
parent 1acd71dc46
commit 76966831b0
60 changed files with 1654 additions and 914 deletions

View File

@@ -34,7 +34,7 @@ int main(int argc, char* argv[]) {
QApplication::setOrganizationName(QStringLiteral("AxioDL"));
QApplication::setApplicationName(QStringLiteral("HECL"));
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif