STEPS TO REPRODUCE ``` #include <KIO/ApplicationLauncherJob> #include <KService> #include <QApplication> #include <QTimer> int main(int argc, char **argv) { QApplication app(argc, argv); QTimer::singleShot(0, &app, []() { QString command = QStringLiteral("konsole"); KService::Ptr service(new KService("konsole", command, "utilities-terminal")); auto *job = new KIO::ApplicationLauncherJob(service); job->start(); }); return app.exec(); } ``` SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.90 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.10.10-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics Memory: 13.5 GiB of RAM Graphics Processor: AMD Radeon Graphics
You need to add QCoreApplication::setQuitLockEnabled(false) *** This bug has been marked as a duplicate of bug 471941 ***