diff --git src/klauncher/klauncher_main.cpp src/klauncher/klauncher_main.cpp index ccdaeab..e5b083e 100644 --- src/klauncher/klauncher_main.cpp +++ src/klauncher/klauncher_main.cpp @@ -152,10 +152,14 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) // WABA: Make sure not to enable session management. putenv(strdup("SESSION_MANAGER=")); + setenv("QT_NO_GLIB", "1", true); + // We need a QGuiApplication as we use X11 QGuiApplication app(argc, argv); app.setApplicationName(QStringLiteral("klauncher")); + unsetenv("QT_NO_GLIB"); + int maxTry = 3; while (true) { QString service(QLatin1String("org.kde.klauncher5")); // same as ktoolinvocation.cpp