Restrict Qt::AA_UseHighDpiPixmaps to Qt5.

This commit is contained in:
Andrius Štikonas 2022-01-18 20:46:10 +00:00
parent 20d41ef501
commit e47827e20c
1 changed files with 2 additions and 0 deletions

View File

@ -92,7 +92,9 @@ int Q_DECL_IMPORT main(int argc, char* argv[])
aboutData.setHomepage(QStringLiteral("https://www.kde.org/applications/system/partitionmanager"));
KAboutData::setApplicationData(aboutData);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#endif
KCrash::initialize();
QCommandLineParser parser;