Commit 701bfc71 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik Committed by Kai Uwe Broulik
Browse files

Link Qt X11Extras in kwin core library



QX11Info is used in `platform.cpp`, which is used by both
kwin_x11 and kwin_wayland. The latter only gets it implicitly
through KGlobalAccelPrivate.

Ideally, platform.cpp was split to not require QX11Info in
kwin_wayland in the first place.

Signed-off-by: default avatarVictoria Fischer <victoria.fischer@mbition.io>
parent edf9698e
Pipeline #177143 passed with stage
in 12 minutes and 22 seconds
......@@ -210,7 +210,7 @@ target_link_libraries(kwin
lcms2::lcms2
)
if (QT_MAJOR_VERSION EQUAL "5")
target_link_libraries(kwin Qt5::XkbCommonSupportPrivate)
target_link_libraries(kwin Qt5::X11Extras Qt5::XkbCommonSupportPrivate)
endif()
if (KWIN_BUILD_NOTIFICATIONS)
......@@ -289,9 +289,6 @@ target_link_libraries(kwin_x11
kwin
KF5::Crash
)
if (QT_MAJOR_VERSION EQUAL "5")
target_link_libraries(kwin_x11 Qt::X11Extras)
endif()
kcoreaddons_target_static_plugins(kwin_x11 "kwin/effects/plugins")
install(TARGETS kwin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
......
Supports Markdown
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