Commit 4927e47e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Kdelibs4ConfigMigrator was removed in qt6

parent 88d1e4b9
Pipeline #125100 passed with stage
in 1 minute and 24 seconds
......@@ -11,7 +11,9 @@
#include <KAboutData>
#include <KCrash>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <KDBusService>
#include <KLocalizedString>
......@@ -28,11 +30,12 @@ main(int argc, char **argv)
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QApplication app(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("konquest"));
migrate.setConfigFiles(QStringList() << QStringLiteral("konquestrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("konquestui.rc"));
migrate.migrate();
#endif
KLocalizedString::setApplicationDomain("konquest");
KAboutData aboutData( QStringLiteral("konquest"), i18n("Konquest"),
QStringLiteral(KONQUEST_VERSION_STRING),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment