Commit 5da8b4c7 authored by David Edmundson's avatar David Edmundson

Explicitly link and disable kcrash on kwin_wayland

Kwin tried to not use kcrash by not linking against it.

KIO now links against KCrash as we link against KIO we indirectly link
against KCrash and thus now link and launch kcrash on wayland. This
breaks coredump.

Arguably it should be fixed in KIO, but it's non-trivial.

The advantage of this approach is it allows us to enable drkonqi for
nested mode in the future, or make a non-gui drkonqi that just saves

Test Plan: Compiles

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: zzag, romangg, kwin

Tags: #kwin

Differential Revision:
parent 3a75ef84
......@@ -644,7 +644,7 @@ install(TARGETS kdeinit_kwin_x11 ${INSTALL_TARGETS_DEFAULT_ARGS} )
add_executable(kwin_wayland tabletmodemanager.cpp main_wayland.cpp)
target_link_libraries(kwin_wayland kwin)
target_link_libraries(kwin_wayland kwin KF5::Crash)
target_link_libraries(kwin_wayland ${Libcap_LIBRARIES})
......@@ -36,6 +36,7 @@ along with this program. If not, see <>.
#include <KLocalizedString>
#include <KPluginLoader>
#include <KPluginMetaData>
#include <KCrash>
#include <KQuickAddons/QtQuickSettings>
// Qt
......@@ -83,6 +84,14 @@ static void sighandler(int)
void disableDrKonqi()
// run immediately, before Q_CORE_STARTUP functions
// that would enable drkonqi
static void readDisplay(int pipe);
enum class RealTimeFlags
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