Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-kinit
0011-On-Windows-klauncher-do-not-need-QGuiAppli...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0011-On-Windows-klauncher-do-not-need-QGuiApplication.patch of Package mingw64-kinit
From ee9c4f2e707e41fa079b18ee703ca960bc662f16 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Fri, 23 Jul 2021 11:19:57 +0200 Subject: [PATCH 11/18] On Windows klauncher do not need QGuiApplication --- src/klauncher/klauncher_main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/klauncher/klauncher_main.cpp b/src/klauncher/klauncher_main.cpp index 32af1f8..56e19e1 100644 --- a/src/klauncher/klauncher_main.cpp +++ b/src/klauncher/klauncher_main.cpp @@ -165,8 +165,12 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) qputenv("QT_NO_GLIB", "1"); } +#ifdef HAVE_X11 // We need a QGuiApplication as we use X11 QGuiApplication app(argc, argv); +#else + QCoreApplication app(argc, argv); +#endif app.setApplicationName(QStringLiteral("klauncher5")); KDBusService service(KDBusService::Unique); -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor