Commit 7b6886f1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Kdelibs4ConfigMigrator was removed in qt6

parent b5205931
Pipeline #125102 passed with stage
in 1 minute and 4 seconds
......@@ -11,7 +11,9 @@
#include <KLocalizedString>
#include <QCommandLineParser>
#include <QCommandLineOption>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <KDBusService>
#include "ksquareswindow.h"
......@@ -27,11 +29,12 @@ int 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("ksquares"));
migrate.setConfigFiles(QStringList() << QStringLiteral("ksquaresrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("ksquaresui.rc"));
migrate.migrate();
#endif
KLocalizedString::setApplicationDomain("ksquares");
KAboutData about(QStringLiteral("ksquares"), i18n("KSquares"),
QStringLiteral(KSQUARES_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