diff --git a/CMakeLists.txt b/CMakeLists.txt index dffca989de..f30c958efb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -410,7 +410,7 @@ configure_file(config-kwin.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwin.h) set(kwin_effects_dbus_xml ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kwin.Effects.xml) qt5_add_dbus_interface(effects_interface_SRCS ${kwin_effects_dbus_xml} kwineffects_interface) add_library(KWinEffectsInterface STATIC ${effects_interface_SRCS}) -target_link_libraries(KWinEffectsInterface Qt5::DBus) +target_link_libraries(KWinEffectsInterface Qt::DBus) include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects @@ -613,10 +613,10 @@ target_link_libraries(kwin kwineffects kwinglutils - Qt5::Concurrent - Qt5::DBus - Qt5::Quick - Qt5::Script + Qt::Concurrent + Qt::DBus + Qt::Quick + Qt::Script KF5::ConfigCore KF5::ConfigWidgets @@ -695,7 +695,7 @@ if(CMAKE_SYSTEM MATCHES "FreeBSD") endif() add_executable(kwin_x11 main_x11.cpp) -target_link_libraries(kwin_x11 kwin KF5::Crash Qt5::X11Extras) +target_link_libraries(kwin_x11 kwin KF5::Crash Qt::X11Extras) install(TARGETS kwin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) install(TARGETS kwin_x11 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 35260bd0f2..f664bf650c 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -14,7 +14,7 @@ add_subdirectory(tabbox) ######################################################## set(testScreenPaintData_SRCS test_screen_paint_data.cpp) add_executable(testScreenPaintData ${testScreenPaintData_SRCS}) -target_link_libraries(testScreenPaintData kwineffects Qt5::Test Qt5::Widgets KF5::WindowSystem) +target_link_libraries(testScreenPaintData kwineffects Qt::Test Qt::Widgets KF5::WindowSystem) add_test(NAME kwin-testScreenPaintData COMMAND testScreenPaintData) ecm_mark_as_test(testScreenPaintData) @@ -23,7 +23,7 @@ ecm_mark_as_test(testScreenPaintData) ######################################################## set(testWindowPaintData_SRCS test_window_paint_data.cpp) add_executable(testWindowPaintData ${testWindowPaintData_SRCS}) -target_link_libraries(testWindowPaintData kwineffects Qt5::Widgets Qt5::Test ) +target_link_libraries(testWindowPaintData kwineffects Qt::Widgets Qt::Test ) add_test(NAME kwin-testWindowPaintData COMMAND testWindowPaintData) ecm_mark_as_test(testWindowPaintData) @@ -37,8 +37,8 @@ set(testVirtualDesktops_SRCS add_executable(testVirtualDesktops ${testVirtualDesktops_SRCS}) target_link_libraries(testVirtualDesktops - Qt5::Test - Qt5::Widgets + Qt::Test + Qt::Widgets KF5::ConfigCore KF5::GlobalAccel @@ -60,10 +60,10 @@ add_executable(testClientMachine ${testClientMachine_SRCS}) set_target_properties(testClientMachine PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") target_link_libraries(testClientMachine - Qt5::Concurrent - Qt5::Test - Qt5::Widgets - Qt5::X11Extras + Qt::Concurrent + Qt::Test + Qt::Widgets + Qt::X11Extras KF5::ConfigCore KF5::WindowSystem @@ -85,9 +85,9 @@ set(testXcbWrapper_SRCS add_executable(testXcbWrapper ${testXcbWrapper_SRCS}) target_link_libraries(testXcbWrapper - Qt5::Test - Qt5::Widgets - Qt5::X11Extras + Qt::Test + Qt::Widgets + Qt::X11Extras KF5::ConfigCore KF5::WindowSystem @@ -101,9 +101,9 @@ if (XCB_ICCCM_FOUND) add_executable(testXcbSizeHints test_xcb_size_hints.cpp) set_target_properties(testXcbSizeHints PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") target_link_libraries(testXcbSizeHints - Qt5::Test - Qt5::Widgets - Qt5::X11Extras + Qt::Test + Qt::Widgets + Qt::X11Extras KF5::ConfigCore KF5::WindowSystem @@ -124,9 +124,9 @@ set(testXcbWindow_SRCS add_executable(testXcbWindow ${testXcbWindow_SRCS}) target_link_libraries(testXcbWindow - Qt5::Test - Qt5::Widgets - Qt5::X11Extras + Qt::Test + Qt::Widgets + Qt::X11Extras KF5::ConfigCore KF5::WindowSystem @@ -148,9 +148,9 @@ add_executable(testBuiltInEffectLoader ${testBuiltInEffectLoader_SRCS}) set_target_properties(testBuiltInEffectLoader PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") target_link_libraries(testBuiltInEffectLoader - Qt5::Concurrent - Qt5::Test - Qt5::X11Extras + Qt::Concurrent + Qt::Test + Qt::X11Extras KF5::Package @@ -182,11 +182,11 @@ kconfig_add_kcfg_files(testScriptedEffectLoader_SRCS ../settings.kcfgc) add_executable(testScriptedEffectLoader ${testScriptedEffectLoader_SRCS}) target_link_libraries(testScriptedEffectLoader - Qt5::Concurrent - Qt5::Qml - Qt5::Script - Qt5::Test - Qt5::X11Extras + Qt::Concurrent + Qt::Qml + Qt::Script + Qt::Test + Qt::X11Extras KF5::ConfigGui KF5::GlobalAccel @@ -212,9 +212,9 @@ set(testPluginEffectLoader_SRCS add_executable(testPluginEffectLoader ${testPluginEffectLoader_SRCS}) target_link_libraries(testPluginEffectLoader - Qt5::Concurrent - Qt5::Test - Qt5::X11Extras + Qt::Concurrent + Qt::Test + Qt::X11Extras KF5::Package @@ -264,9 +264,9 @@ add_executable(testScreenEdges ${testScreenEdges_SRCS}) set_target_properties(testScreenEdges PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") target_include_directories(testScreenEdges BEFORE PRIVATE ./) target_link_libraries(testScreenEdges - Qt5::DBus - Qt5::Test - Qt5::X11Extras + Qt::DBus + Qt::Test + Qt::X11Extras KF5::ConfigCore KF5::ConfigGui @@ -300,10 +300,10 @@ set(testOnScreenNotification_SRCS add_executable(testOnScreenNotification ${testOnScreenNotification_SRCS}) target_link_libraries(testOnScreenNotification - Qt5::DBus - Qt5::Quick - Qt5::Test - Qt5::Widgets # QAction include + Qt::DBus + Qt::Quick + Qt::Test + Qt::Widgets # QAction include KF5::ConfigCore ) @@ -321,7 +321,7 @@ set(testGestures_SRCS add_executable(testGestures ${testGestures_SRCS}) target_link_libraries(testGestures - Qt5::Test + Qt::Test ) add_test(NAME kwin-testGestures COMMAND testGestures) @@ -333,7 +333,7 @@ ecm_mark_as_test(testGestures) add_executable(testX11TimestampUpdate test_x11_timestamp_update.cpp) target_link_libraries(testX11TimestampUpdate KF5::CoreAddons - Qt5::Test + Qt::Test kwin ) add_test(NAME kwin-testX11TimestampUpdate COMMAND testX11TimestampUpdate) @@ -349,7 +349,7 @@ if (HAVE_EPOXY_GLX) set(testOpenGLContextAttributeBuilder_SRCS ${testOpenGLContextAttributeBuilder_SRCS} ../plugins/platforms/x11/standalone/glx_context_attribute_builder.cpp) endif() add_executable(testOpenGLContextAttributeBuilder ${testOpenGLContextAttributeBuilder_SRCS}) -target_link_libraries(testOpenGLContextAttributeBuilder Qt5::Test) +target_link_libraries(testOpenGLContextAttributeBuilder Qt::Test) add_test(NAME kwin-testOpenGLContextAttributeBuilder COMMAND testOpenGLContextAttributeBuilder) ecm_mark_as_test(testOpenGLContextAttributeBuilder) @@ -359,9 +359,9 @@ set(testXkb_SRCS ) add_executable(testXkb ${testXkb_SRCS}) target_link_libraries(testXkb - Qt5::Gui - Qt5::Test - Qt5::Widgets + Qt::Gui + Qt::Test + Qt::Widgets KF5::ConfigCore Plasma::KWaylandServer @@ -374,15 +374,15 @@ ecm_mark_as_test(testXkb) if (HAVE_GBM) add_executable(testGbmSurface test_gbm_surface.cpp ../plugins/platforms/drm/gbm_surface.cpp) - target_link_libraries(testGbmSurface Qt5::Test) + target_link_libraries(testGbmSurface Qt::Test) add_test(NAME kwin-testGbmSurface COMMAND testGbmSurface) ecm_mark_as_test(testGbmSurface) endif() add_executable(testVirtualKeyboardDBus test_virtualkeyboard_dbus.cpp ../virtualkeyboard_dbus.cpp) target_link_libraries(testVirtualKeyboardDBus - Qt5::DBus - Qt5::Test + Qt::DBus + Qt::Test ) add_test(NAME kwin-testVirtualKeyboardDBus COMMAND testVirtualKeyboardDBus) ecm_mark_as_test(testVirtualKeyboardDBus) @@ -393,7 +393,7 @@ ecm_mark_as_test(testVirtualKeyboardDBus) ######################################################## add_executable(testFtrace test_ftrace.cpp) target_link_libraries(testFtrace - Qt5::Test + Qt::Test kwin ) add_test(NAME kwin-testFtrace COMMAND testFtrace) diff --git a/autotests/drm/CMakeLists.txt b/autotests/drm/CMakeLists.txt index 2968762c2f..aa41f571a3 100644 --- a/autotests/drm/CMakeLists.txt +++ b/autotests/drm/CMakeLists.txt @@ -10,7 +10,7 @@ set(mockDRM_SRCS ) add_library(mockDrm STATIC ${mockDRM_SRCS}) -target_link_libraries(mockDrm Qt5::Gui) +target_link_libraries(mockDrm Qt::Gui) ecm_mark_as_test(mockDrm) function(drmTest) @@ -18,7 +18,7 @@ function(drmTest) set(multiValueArgs SRCS ) cmake_parse_arguments(ARGS "" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) add_executable(${ARGS_NAME} ${ARGS_SRCS}) - target_link_libraries(${ARGS_NAME} mockDrm Qt5::Test) + target_link_libraries(${ARGS_NAME} mockDrm Qt::Test) add_test(NAME kwin-drm-${ARGS_NAME} COMMAND ${ARGS_NAME}) ecm_mark_as_test(${ARGS_NAME}) endfunction() diff --git a/autotests/integration/CMakeLists.txt b/autotests/integration/CMakeLists.txt index 6b072970fa..204edfd99e 100644 --- a/autotests/integration/CMakeLists.txt +++ b/autotests/integration/CMakeLists.txt @@ -27,7 +27,7 @@ ecm_add_qtwayland_client_protocol(KWinIntegrationTestFramework_SOURCES ) add_library(KWinIntegrationTestFramework STATIC ${KWinIntegrationTestFramework_SOURCES}) target_link_libraries(KWinIntegrationTestFramework - Qt5::Test + Qt::Test kwin Wayland::Client @@ -44,12 +44,12 @@ function(integrationTest) set(multiValueArgs SRCS LIBS) cmake_parse_arguments(ARGS "${optionArgs}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) add_executable(${ARGS_NAME} ${ARGS_SRCS}) - target_link_libraries(${ARGS_NAME} KWinIntegrationTestFramework kwin Qt5::Test ${ARGS_LIBS}) + target_link_libraries(${ARGS_NAME} KWinIntegrationTestFramework kwin Qt::Test ${ARGS_LIBS}) add_test(NAME kwin-${ARGS_NAME} COMMAND dbus-run-session ${CMAKE_BINARY_DIR}/bin/${ARGS_NAME}) if (${ARGS_WAYLAND_ONLY}) add_executable(${ARGS_NAME}_waylandonly ${ARGS_SRCS} ) set_target_properties(${ARGS_NAME}_waylandonly PROPERTIES COMPILE_DEFINITIONS "NO_XWAYLAND") - target_link_libraries(${ARGS_NAME}_waylandonly KWinIntegrationTestFramework kwin Qt5::Test ${ARGS_LIBS}) + target_link_libraries(${ARGS_NAME}_waylandonly KWinIntegrationTestFramework kwin Qt::Test ${ARGS_LIBS}) add_test(NAME kwin-${ARGS_NAME}-waylandonly COMMAND dbus-run-session ${CMAKE_BINARY_DIR}/bin/${ARGS_NAME}_waylandonly) endif() endfunction() diff --git a/autotests/integration/fakes/org.kde.kdecoration2/CMakeLists.txt b/autotests/integration/fakes/org.kde.kdecoration2/CMakeLists.txt index 96033e553d..1b233ed51d 100644 --- a/autotests/integration/fakes/org.kde.kdecoration2/CMakeLists.txt +++ b/autotests/integration/fakes/org.kde.kdecoration2/CMakeLists.txt @@ -7,8 +7,8 @@ set_target_properties(fakedecoshadows PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/fakes/org.kde.kdecoration2") target_link_libraries(fakedecoshadows PUBLIC - Qt5::Core - Qt5::Gui + Qt::Core + Qt::Gui PRIVATE KDecoration2::KDecoration KF5::CoreAddons) diff --git a/autotests/integration/helper/CMakeLists.txt b/autotests/integration/helper/CMakeLists.txt index 0aba097bfb..1e6f9c94df 100644 --- a/autotests/integration/helper/CMakeLists.txt +++ b/autotests/integration/helper/CMakeLists.txt @@ -1,11 +1,11 @@ add_executable(copy copy.cpp) -target_link_libraries(copy Qt5::Gui) +target_link_libraries(copy Qt::Gui) ecm_mark_as_test(copy) ###################### add_executable(paste paste.cpp) -target_link_libraries(paste Qt5::Gui) +target_link_libraries(paste Qt::Gui) ecm_mark_as_test(paste) ###################### add_executable(kill kill.cpp) -target_link_libraries(kill Qt5::Widgets) +target_link_libraries(kill Qt::Widgets) ecm_mark_as_test(kill) diff --git a/autotests/libinput/CMakeLists.txt b/autotests/libinput/CMakeLists.txt index 3706367d90..318f8d9558 100644 --- a/autotests/libinput/CMakeLists.txt +++ b/autotests/libinput/CMakeLists.txt @@ -1,13 +1,13 @@ include_directories(${Libinput_INCLUDE_DIRS}) add_library(LibInputTestObjects STATIC ../../libinput/device.cpp ../../libinput/events.cpp mock_libinput.cpp) -target_link_libraries(LibInputTestObjects Qt5::Test Qt5::Widgets Qt5::DBus Qt5::Gui KF5::ConfigCore) +target_link_libraries(LibInputTestObjects Qt::Test Qt::Widgets Qt::DBus Qt::Gui KF5::ConfigCore) ######################################################## # Test Devices ######################################################## add_executable(testLibinputDevice device_test.cpp) -target_link_libraries(testLibinputDevice Qt5::Test Qt5::DBus Qt5::Gui KF5::ConfigCore LibInputTestObjects) +target_link_libraries(testLibinputDevice Qt::Test Qt::DBus Qt::Gui KF5::ConfigCore LibInputTestObjects) add_test(NAME kwin-testLibinputDevice COMMAND testLibinputDevice) ecm_mark_as_test(testLibinputDevice) @@ -15,7 +15,7 @@ ecm_mark_as_test(testLibinputDevice) # Test Key Event ######################################################## add_executable(testLibinputKeyEvent key_event_test.cpp) -target_link_libraries(testLibinputKeyEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore LibInputTestObjects) +target_link_libraries(testLibinputKeyEvent Qt::Test Qt::DBus Qt::Widgets KF5::ConfigCore LibInputTestObjects) add_test(NAME kwin-testLibinputKeyEvent COMMAND testLibinputKeyEvent) ecm_mark_as_test(testLibinputKeyEvent) @@ -23,7 +23,7 @@ ecm_mark_as_test(testLibinputKeyEvent) # Test Pointer Event ######################################################## add_executable(testLibinputPointerEvent pointer_event_test.cpp) -target_link_libraries(testLibinputPointerEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore LibInputTestObjects) +target_link_libraries(testLibinputPointerEvent Qt::Test Qt::DBus Qt::Widgets KF5::ConfigCore LibInputTestObjects) add_test(NAME kwin-testLibinputPointerEvent COMMAND testLibinputPointerEvent) ecm_mark_as_test(testLibinputPointerEvent) @@ -31,7 +31,7 @@ ecm_mark_as_test(testLibinputPointerEvent) # Test Touch Event ######################################################## add_executable(testLibinputTouchEvent touch_event_test.cpp) -target_link_libraries(testLibinputTouchEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore LibInputTestObjects) +target_link_libraries(testLibinputTouchEvent Qt::Test Qt::DBus Qt::Widgets KF5::ConfigCore LibInputTestObjects) add_test(NAME kwin-testLibinputTouchEvent COMMAND testLibinputTouchEvent) ecm_mark_as_test(testLibinputTouchEvent) @@ -39,7 +39,7 @@ ecm_mark_as_test(testLibinputTouchEvent) # Test Gesture Event ######################################################## add_executable(testLibinputGestureEvent gesture_event_test.cpp) -target_link_libraries(testLibinputGestureEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore LibInputTestObjects) +target_link_libraries(testLibinputGestureEvent Qt::Test Qt::DBus Qt::Widgets KF5::ConfigCore LibInputTestObjects) add_test(NAME kwin-testLibinputGestureEvent COMMAND testLibinputGestureEvent) ecm_mark_as_test(testLibinputGestureEvent) @@ -47,7 +47,7 @@ ecm_mark_as_test(testLibinputGestureEvent) # Test Switch Event ######################################################## add_executable(testLibinputSwitchEvent switch_event_test.cpp) -target_link_libraries(testLibinputSwitchEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore LibInputTestObjects) +target_link_libraries(testLibinputSwitchEvent Qt::Test Qt::DBus Qt::Widgets KF5::ConfigCore LibInputTestObjects) add_test(NAME kwin-testLibinputSwitchEvent COMMAND testLibinputSwitchEvent) ecm_mark_as_test(testLibinputSwitchEvent) @@ -65,9 +65,9 @@ add_executable(testLibinputContext ${testLibinputContext_SRCS}) target_link_libraries(testLibinputContext LibInputTestObjects - Qt5::DBus - Qt5::Test - Qt5::Widgets + Qt::DBus + Qt::Test + Qt::Widgets KF5::ConfigCore KF5::WindowSystem @@ -79,6 +79,6 @@ ecm_mark_as_test(testLibinputContext) # Test Input Events ######################################################## add_executable(testInputEvents input_event_test.cpp ../../input_event.cpp) -target_link_libraries(testInputEvents Qt5::Test Qt5::DBus Qt5::Gui Qt5::Widgets KF5::ConfigCore LibInputTestObjects) +target_link_libraries(testInputEvents Qt::Test Qt::DBus Qt::Gui Qt::Widgets KF5::ConfigCore LibInputTestObjects) add_test(NAME kwin-testInputEvents COMMAND testInputEvents) ecm_mark_as_test(testInputEvents) diff --git a/autotests/libkwineffects/CMakeLists.txt b/autotests/libkwineffects/CMakeLists.txt index ebbbcc2dc6..2470503a41 100644 --- a/autotests/libkwineffects/CMakeLists.txt +++ b/autotests/libkwineffects/CMakeLists.txt @@ -4,7 +4,7 @@ macro(KWINEFFECTS_UNIT_TESTS) foreach(_testname ${ARGN}) add_executable(${_testname} ${_testname}.cpp) add_test(NAME kwineffects-${_testname} COMMAND ${_testname}) - target_link_libraries(${_testname} Qt5::Test kwineffects) + target_link_libraries(${_testname} Qt::Test kwineffects) ecm_mark_as_test(${_testname}) endforeach() endmacro() @@ -16,5 +16,5 @@ kwineffects_unit_tests( add_executable(kwinglplatformtest kwinglplatformtest.cpp mock_gl.cpp ../../libkwineffects/kwinglplatform.cpp) add_test(NAME kwineffects-kwinglplatformtest COMMAND kwinglplatformtest) -target_link_libraries(kwinglplatformtest Qt5::Test Qt5::Gui Qt5::X11Extras KF5::ConfigCore XCB::XCB) +target_link_libraries(kwinglplatformtest Qt::Test Qt::Gui Qt::X11Extras KF5::ConfigCore XCB::XCB) ecm_mark_as_test(kwinglplatformtest) diff --git a/autotests/libxrenderutils/CMakeLists.txt b/autotests/libxrenderutils/CMakeLists.txt index ceefcc2f62..1421a14a32 100644 --- a/autotests/libxrenderutils/CMakeLists.txt +++ b/autotests/libxrenderutils/CMakeLists.txt @@ -3,9 +3,9 @@ set_target_properties(blendPictureTest PROPERTIES COMPILE_DEFINITIONS "NO_NONE_W add_test(NAME xrenderutils-blendPictureTest COMMAND blendPictureTest) target_link_libraries(blendPictureTest kwinxrenderutils - Qt5::Test - Qt5::Gui - Qt5::X11Extras + Qt::Test + Qt::Gui + Qt::X11Extras XCB::XCB XCB::RENDER XCB::XFIXES diff --git a/autotests/tabbox/CMakeLists.txt b/autotests/tabbox/CMakeLists.txt index 8fe6ba20b0..8db5c29b70 100644 --- a/autotests/tabbox/CMakeLists.txt +++ b/autotests/tabbox/CMakeLists.txt @@ -17,13 +17,13 @@ set(testTabBoxClientModel_SRCS add_executable(testTabBoxClientModel ${testTabBoxClientModel_SRCS}) set_target_properties(testTabBoxClientModel PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") target_link_libraries(testTabBoxClientModel - Qt5::Core - Qt5::DBus - Qt5::Quick - Qt5::Script - Qt5::Test - Qt5::Widgets - Qt5::X11Extras + Qt::Core + Qt::DBus + Qt::Quick + Qt::Script + Qt::Test + Qt::Widgets + Qt::X11Extras KF5::ConfigCore KF5::I18n @@ -53,13 +53,13 @@ set(testTabBoxHandler_SRCS add_executable(testTabBoxHandler ${testTabBoxHandler_SRCS}) set_target_properties(testTabBoxHandler PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") target_link_libraries(testTabBoxHandler - Qt5::Core - Qt5::DBus - Qt5::Quick - Qt5::Script - Qt5::Test - Qt5::Widgets - Qt5::X11Extras + Qt::Core + Qt::DBus + Qt::Quick + Qt::Script + Qt::Test + Qt::Widgets + Qt::X11Extras KF5::ConfigCore KF5::I18n @@ -82,7 +82,7 @@ set(testTabBoxConfig_SRCS ) add_executable(testTabBoxConfig ${testTabBoxConfig_SRCS}) -target_link_libraries(testTabBoxConfig Qt5::Core Qt5::Test) +target_link_libraries(testTabBoxConfig Qt::Core Qt::Test) add_test(NAME kwin-testTabBoxConfig COMMAND testTabBoxConfig) ecm_mark_as_test(testTabBoxConfig) @@ -97,6 +97,6 @@ set(testDesktopChain_SRCS ) add_executable(testDesktopChain ${testDesktopChain_SRCS}) -target_link_libraries(testDesktopChain Qt5::Core Qt5::Test) +target_link_libraries(testDesktopChain Qt::Core Qt::Test) add_test(NAME kwin-testDesktopChain COMMAND testDesktopChain) ecm_mark_as_test(testDesktopChain) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 77148b94c1..2393251a9e 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -4,8 +4,8 @@ add_subdirectory(icons) add_executable(kwin5_update_default_rules update_default_rules.cpp) target_link_libraries(kwin5_update_default_rules KF5::ConfigCore - Qt5::Core - Qt5::DBus + Qt::Core + Qt::DBus ) install(TARGETS kwin5_update_default_rules DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin/) diff --git a/effects/CMakeLists.txt b/effects/CMakeLists.txt index 6b13f991e5..41a35e668e 100644 --- a/effects/CMakeLists.txt +++ b/effects/CMakeLists.txt @@ -31,10 +31,10 @@ if (HAVE_ACCESSIBILITY) endif() set(kwin_effect_QT_LIBS - Qt5::Concurrent - Qt5::DBus - Qt5::Quick - Qt5::X11Extras + Qt::Concurrent + Qt::DBus + Qt::Quick + Qt::X11Extras ) set(kwin_effect_XLIB_LIBS diff --git a/effects/blur/CMakeLists.txt b/effects/blur/CMakeLists.txt index 52deb57183..8cdf5a9115 100644 --- a/effects/blur/CMakeLists.txt +++ b/effects/blur/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(kwin_blur_config MODULE ${kwin_blur_config_SRCS}) target_link_libraries(kwin_blur_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/coverswitch/CMakeLists.txt b/effects/coverswitch/CMakeLists.txt index 27169b5834..059c0d7c52 100644 --- a/effects/coverswitch/CMakeLists.txt +++ b/effects/coverswitch/CMakeLists.txt @@ -12,7 +12,7 @@ add_library(kwin_coverswitch_config MODULE ${kwin_coverswitch_config_SRCS}) target_link_libraries(kwin_coverswitch_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/desktopgrid/CMakeLists.txt b/effects/desktopgrid/CMakeLists.txt index b4177519ff..6a9f681ff8 100644 --- a/effects/desktopgrid/CMakeLists.txt +++ b/effects/desktopgrid/CMakeLists.txt @@ -16,7 +16,7 @@ target_link_libraries(kwin_desktopgrid_config KF5::GlobalAccel KF5::I18n KF5::XmlGui - Qt5::Quick + Qt::Quick kwineffects KWinEffectsInterface ) diff --git a/effects/diminactive/CMakeLists.txt b/effects/diminactive/CMakeLists.txt index 5ead9e4051..178cc273b6 100644 --- a/effects/diminactive/CMakeLists.txt +++ b/effects/diminactive/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(kwin_diminactive_config MODULE ${kwin_diminactive_config_SRCS}) target_link_libraries(kwin_diminactive_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/glide/CMakeLists.txt b/effects/glide/CMakeLists.txt index b2a0aee1eb..80e17623ac 100644 --- a/effects/glide/CMakeLists.txt +++ b/effects/glide/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(kwin_glide_config MODULE ${kwin_glide_config_SRCS}) target_link_libraries(kwin_glide_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/magiclamp/CMakeLists.txt b/effects/magiclamp/CMakeLists.txt index a0a6b4a18e..7d948c83cc 100644 --- a/effects/magiclamp/CMakeLists.txt +++ b/effects/magiclamp/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(kwin_magiclamp_config MODULE ${kwin_magiclamp_config_SRCS}) target_link_libraries(kwin_magiclamp_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/resize/CMakeLists.txt b/effects/resize/CMakeLists.txt index 1bdcbe8950..e153aafc64 100644 --- a/effects/resize/CMakeLists.txt +++ b/effects/resize/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(kwin_resize_config MODULE ${kwin_resize_config_SRCS}) target_link_libraries(kwin_resize_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/showfps/CMakeLists.txt b/effects/showfps/CMakeLists.txt index 77731ddfe2..2ce034d4a0 100644 --- a/effects/showfps/CMakeLists.txt +++ b/effects/showfps/CMakeLists.txt @@ -10,7 +10,7 @@ target_link_libraries(kwin_showfps_config KF5::Completion KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/slide/CMakeLists.txt b/effects/slide/CMakeLists.txt index 6d604f7335..9347435949 100644 --- a/effects/slide/CMakeLists.txt +++ b/effects/slide/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(kwin_slide_config MODULE ${kwin_slide_config_SRCS}) target_link_libraries(kwin_slide_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/effects/wobblywindows/CMakeLists.txt b/effects/wobblywindows/CMakeLists.txt index 4548991438..a58877c62a 100644 --- a/effects/wobblywindows/CMakeLists.txt +++ b/effects/wobblywindows/CMakeLists.txt @@ -9,7 +9,7 @@ add_library(kwin_wobblywindows_config MODULE ${kwin_wobblywindows_config_SRCS}) target_link_libraries(kwin_wobblywindows_config KF5::ConfigWidgets KF5::I18n - Qt5::DBus + Qt::DBus KWinEffectsInterface ) diff --git a/helpers/killer/CMakeLists.txt b/helpers/killer/CMakeLists.txt index 79812b38d9..7dec9561c8 100644 --- a/helpers/killer/CMakeLists.txt +++ b/helpers/killer/CMakeLists.txt @@ -8,8 +8,8 @@ target_link_libraries(kwin_killer_helper KF5::AuthCore KF5::I18n KF5::WidgetsAddons - Qt5::Widgets - Qt5::X11Extras + Qt::Widgets + Qt::X11Extras ) install(TARGETS kwin_killer_helper DESTINATION ${LIBEXEC_INSTALL_DIR}) diff --git a/kcmkwin/common/CMakeLists.txt b/kcmkwin/common/CMakeLists.txt index 33fd97bbb0..6dd2046639 100644 --- a/kcmkwin/common/CMakeLists.txt +++ b/kcmkwin/common/CMakeLists.txt @@ -14,8 +14,8 @@ qt5_add_dbus_interface(kcmkwincommon_SRC add_library(kcmkwincommon SHARED ${kcmkwincommon_SRC}) target_link_libraries(kcmkwincommon - Qt5::Core - Qt5::DBus + Qt::Core + Qt::DBus KF5::CoreAddons KF5::ConfigCore KF5::I18n diff --git a/kcmkwin/kwincompositing/CMakeLists.txt b/kcmkwin/kwincompositing/CMakeLists.txt index b50abf7a58..ca868b518f 100644 --- a/kcmkwin/kwincompositing/CMakeLists.txt +++ b/kcmkwin/kwincompositing/CMakeLists.txt @@ -24,8 +24,8 @@ ki18n_wrap_ui(kwincompositing_SRC compositing.ui) add_library(kwincompositing MODULE ${kwincompositing_SRC}) target_link_libraries(kwincompositing - Qt5::DBus - Qt5::Widgets + Qt::DBus + Qt::Widgets KF5::ConfigCore KF5::CoreAddons diff --git a/kcmkwin/kwindecoration/CMakeLists.txt b/kcmkwin/kwindecoration/CMakeLists.txt index 0012230082..8011a10292 100644 --- a/kcmkwin/kwindecoration/CMakeLists.txt +++ b/kcmkwin/kwindecoration/CMakeLists.txt @@ -28,7 +28,7 @@ target_link_libraries(kcm_kwindecoration KF5::KCMUtils KF5::NewStuff KF5::QuickAddons - Qt5::Quick + Qt::Quick ) kcoreaddons_desktop_to_json(kcm_kwindecoration "kwindecoration.desktop" SERVICE_TYPES kcmodule.desktop) diff --git a/kcmkwin/kwindecoration/declarative-plugin/CMakeLists.txt b/kcmkwin/kwindecoration/declarative-plugin/CMakeLists.txt index 1b0abc5b51..ba84468bc7 100644 --- a/kcmkwin/kwindecoration/declarative-plugin/CMakeLists.txt +++ b/kcmkwin/kwindecoration/declarative-plugin/CMakeLists.txt @@ -14,8 +14,8 @@ add_library(kdecorationprivatedeclarative SHARED ${plugin_SRCS}) target_link_libraries(kdecorationprivatedeclarative KDecoration2::KDecoration KDecoration2::KDecoration2Private - Qt5::DBus - Qt5::Quick + Qt::DBus + Qt::Quick KF5::CoreAddons KF5::ConfigWidgets KF5::I18n diff --git a/kcmkwin/kwindesktop/CMakeLists.txt b/kcmkwin/kwindesktop/CMakeLists.txt index 2e36e5339b..a5eb29f998 100644 --- a/kcmkwin/kwindesktop/CMakeLists.txt +++ b/kcmkwin/kwindesktop/CMakeLists.txt @@ -18,7 +18,7 @@ kconfig_add_kcfg_files(kcm_kwin_virtualdesktops_PART_SRCS virtualdesktopssetting add_library(kcm_kwin_virtualdesktops MODULE ${kcm_kwin_virtualdesktops_PART_SRCS}) target_link_libraries(kcm_kwin_virtualdesktops - Qt5::DBus + Qt::DBus KF5::I18n KF5::KCMUtils diff --git a/kcmkwin/kwineffects/CMakeLists.txt b/kcmkwin/kwineffects/CMakeLists.txt index 4f533b9271..73c3eadce0 100644 --- a/kcmkwin/kwineffects/CMakeLists.txt +++ b/kcmkwin/kwineffects/CMakeLists.txt @@ -14,7 +14,7 @@ set(kcm_kwin_effects_PART_SRCS add_library(kcm_kwin_effects MODULE ${kcm_kwin_effects_PART_SRCS}) target_link_libraries(kcm_kwin_effects - Qt5::DBus + Qt::DBus KF5::I18n KF5::KCMUtils diff --git a/kcmkwin/kwinoptions/CMakeLists.txt b/kcmkwin/kwinoptions/CMakeLists.txt index b9cf215c31..0705fdfb53 100644 --- a/kcmkwin/kwinoptions/CMakeLists.txt +++ b/kcmkwin/kwinoptions/CMakeLists.txt @@ -22,7 +22,7 @@ kconfig_add_kcfg_files(kcm_kwinoptions_PART_SRCS kwinoptions_kdeglobals_settings qt5_add_dbus_interface(kcm_kwinoptions_PART_SRCS ${KWin_SOURCE_DIR}/org.kde.kwin.Effects.xml kwin_effects_interface) add_library(kcm_kwinoptions MODULE ${kcm_kwinoptions_PART_SRCS}) -target_link_libraries(kcm_kwinoptions kwin Qt5::DBus KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::Service KF5::WindowSystem) +target_link_libraries(kcm_kwinoptions kwin Qt::DBus KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::Service KF5::WindowSystem) install(TARGETS kcm_kwinoptions DESTINATION ${KDE_INSTALL_PLUGINDIR}) ########### install files ############### diff --git a/kcmkwin/kwinrules/CMakeLists.txt b/kcmkwin/kwinrules/CMakeLists.txt index a1d8d147fa..305db8d757 100644 --- a/kcmkwin/kwinrules/CMakeLists.txt +++ b/kcmkwin/kwinrules/CMakeLists.txt @@ -30,8 +30,8 @@ set(kwin_kcm_rules_XCB_LIBS ) set(kcm_libs - Qt5::Quick - Qt5::QuickWidgets + Qt::Quick + Qt::QuickWidgets KF5::I18n KF5::QuickAddons diff --git a/kcmkwin/kwinscreenedges/CMakeLists.txt b/kcmkwin/kwinscreenedges/CMakeLists.txt index b40934f9f3..da70f3d8de 100644 --- a/kcmkwin/kwinscreenedges/CMakeLists.txt +++ b/kcmkwin/kwinscreenedges/CMakeLists.txt @@ -26,7 +26,7 @@ ki18n_wrap_ui(kcm_kwinscreenedges_PART_SRCS main.ui) kconfig_add_kcfg_files(kcm_kwinscreenedges_PART_SRCS kwinscreenedgesettings.kcfgc kwinscreenedgescriptsettings.kcfgc) add_library(kcm_kwinscreenedges MODULE ${kcm_kwinscreenedges_PART_SRCS}) set(kcm_screenedges_LIBS - Qt5::DBus + Qt::DBus KF5::Completion KF5::ConfigCore diff --git a/kcmkwin/kwinscripts/CMakeLists.txt b/kcmkwin/kwinscripts/CMakeLists.txt index 9de44eab92..a988eedbcc 100644 --- a/kcmkwin/kwinscripts/CMakeLists.txt +++ b/kcmkwin/kwinscripts/CMakeLists.txt @@ -15,7 +15,7 @@ ki18n_wrap_ui(kcm_SRCS module.ui) add_library(kcm_kwin_scripts MODULE ${kcm_SRCS}) target_link_libraries(kcm_kwin_scripts - Qt5::DBus + Qt::DBus KF5::I18n KF5::KCMUtils diff --git a/kcmkwin/kwintabbox/CMakeLists.txt b/kcmkwin/kwintabbox/CMakeLists.txt index 6194c0d104..bd1b118793 100644 --- a/kcmkwin/kwintabbox/CMakeLists.txt +++ b/kcmkwin/kwintabbox/CMakeLists.txt @@ -21,7 +21,7 @@ kconfig_add_kcfg_files(kcm_kwintabbox_PART_SRCS kwintabboxsettings.kcfgc kwinswi add_library(kcm_kwintabbox MODULE ${kcm_kwintabbox_PART_SRCS}) target_link_libraries(kcm_kwintabbox - Qt5::Quick + Qt::Quick KF5::Completion KF5::GlobalAccel diff --git a/libkwineffects/CMakeLists.txt b/libkwineffects/CMakeLists.txt index 028268d783..149e863606 100644 --- a/libkwineffects/CMakeLists.txt +++ b/libkwineffects/CMakeLists.txt @@ -18,8 +18,8 @@ add_library(kwinxrenderutils SHARED ${kwin_XRENDERUTILS_SRCS}) generate_export_header(kwinxrenderutils EXPORT_FILE_NAME kwinxrenderutils_export.h) target_link_libraries(kwinxrenderutils PUBLIC - Qt5::Core - Qt5::Gui + Qt::Core + Qt::Gui XCB::RENDER XCB::XCB @@ -53,7 +53,7 @@ target_link_libraries(kwineffects XCB::XCB Plasma::KWaylandServer PRIVATE - Qt5::Quick + Qt::Quick KF5::Declarative kwinglutils ) diff --git a/platformsupport/scenes/opengl/CMakeLists.txt b/platformsupport/scenes/opengl/CMakeLists.txt index a46b5cb01e..3c9a45008a 100644 --- a/platformsupport/scenes/opengl/CMakeLists.txt +++ b/platformsupport/scenes/opengl/CMakeLists.txt @@ -20,5 +20,5 @@ ecm_qt_declare_logging_category(SCENE_OPENGL_BACKEND_SRCS ) add_library(SceneOpenGLBackend STATIC ${SCENE_OPENGL_BACKEND_SRCS}) -target_link_libraries(SceneOpenGLBackend Qt5::Core Qt5::Widgets KF5::CoreAddons KF5::ConfigCore KF5::WindowSystem Plasma::KWaylandServer) +target_link_libraries(SceneOpenGLBackend Qt::Core Qt::Widgets KF5::CoreAddons KF5::ConfigCore KF5::WindowSystem Plasma::KWaylandServer) target_include_directories(SceneOpenGLBackend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/platformsupport/scenes/qpainter/CMakeLists.txt b/platformsupport/scenes/qpainter/CMakeLists.txt index d54c4be487..01f3eb03e2 100644 --- a/platformsupport/scenes/qpainter/CMakeLists.txt +++ b/platformsupport/scenes/qpainter/CMakeLists.txt @@ -13,5 +13,5 @@ ecm_qt_declare_logging_category(SCENE_QPAINTER_BACKEND_SRCS ) add_library(SceneQPainterBackend STATIC ${SCENE_QPAINTER_BACKEND_SRCS}) -target_link_libraries(SceneQPainterBackend Qt5::Core) +target_link_libraries(SceneQPainterBackend Qt::Core) target_include_directories(SceneQPainterBackend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/platformsupport/scenes/xrender/CMakeLists.txt b/platformsupport/scenes/xrender/CMakeLists.txt index c759b28d22..0bcf5816bf 100644 --- a/platformsupport/scenes/xrender/CMakeLists.txt +++ b/platformsupport/scenes/xrender/CMakeLists.txt @@ -8,5 +8,5 @@ ecm_qt_declare_logging_category(xrenderbackend_SOURCES ) add_library(SceneXRenderBackend STATIC ${xrenderbackend_SOURCES}) -target_link_libraries(SceneXRenderBackend kwin Qt5::Core Qt5::Gui) +target_link_libraries(SceneXRenderBackend kwin Qt::Core Qt::Gui) target_include_directories(SceneXRenderBackend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/platformsupport/vsyncconvenience/CMakeLists.txt b/platformsupport/vsyncconvenience/CMakeLists.txt index 29ae9ad5a8..2bb774920c 100644 --- a/platformsupport/vsyncconvenience/CMakeLists.txt +++ b/platformsupport/vsyncconvenience/CMakeLists.txt @@ -4,5 +4,5 @@ set(vsyncconvenience_SOURCES ) add_library(VsyncSupport OBJECT ${vsyncconvenience_SOURCES}) -target_link_libraries(VsyncSupport Qt5::Core Qt5::Gui) +target_link_libraries(VsyncSupport Qt::Core Qt::Gui) target_include_directories(VsyncSupport PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/plugins/kdecorations/aurorae/src/CMakeLists.txt b/plugins/kdecorations/aurorae/src/CMakeLists.txt index 1a8af6e65e..339141b12a 100644 --- a/plugins/kdecorations/aurorae/src/CMakeLists.txt +++ b/plugins/kdecorations/aurorae/src/CMakeLists.txt @@ -22,8 +22,8 @@ target_link_libraries(kwin5_aurorae KF5::I18n KF5::Package KF5::WindowSystem - Qt5::Quick - Qt5::UiTools + Qt::Quick + Qt::UiTools ) install(TARGETS kwin5_aurorae DESTINATION ${KDE_INSTALL_PLUGINDIR}/org.kde.kdecoration2) @@ -39,7 +39,7 @@ set_target_properties(decorationplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CM target_link_libraries(decorationplugin KDecoration2::KDecoration KF5::ConfigWidgets - Qt5::Quick + Qt::Quick ) install(TARGETS decorationplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/decoration) diff --git a/plugins/kdecorations/aurorae/themes/plastik/code/CMakeLists.txt b/plugins/kdecorations/aurorae/themes/plastik/code/CMakeLists.txt index 5463539077..7956797885 100644 --- a/plugins/kdecorations/aurorae/themes/plastik/code/CMakeLists.txt +++ b/plugins/kdecorations/aurorae/themes/plastik/code/CMakeLists.txt @@ -5,7 +5,7 @@ set(plastik_plugin_SRCS add_library(plastikplugin SHARED ${plastik_plugin_SRCS}) set_target_properties(plastikplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org/kde/kwin/decorations/plastik") -target_link_libraries(plastikplugin Qt5::Core Qt5::Quick KF5::ConfigWidgets) +target_link_libraries(plastikplugin Qt::Core Qt::Quick KF5::ConfigWidgets) install(TARGETS plastikplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/decorations/plastik) install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/decorations/plastik) file(COPY qmldir DESTINATION ${CMAKE_BINARY_DIR}/bin/org/kde/kwin/decorations/plastik) diff --git a/plugins/platforms/x11/standalone/CMakeLists.txt b/plugins/platforms/x11/standalone/CMakeLists.txt index c18cf86d33..9411b63bbb 100644 --- a/plugins/platforms/x11/standalone/CMakeLists.txt +++ b/plugins/platforms/x11/standalone/CMakeLists.txt @@ -20,7 +20,7 @@ set(X11PLATFORM_SOURCES add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) set_target_properties(KWinX11Platform PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.platforms/") -target_link_libraries(KWinX11Platform eglx11common kwin kwinxrenderutils SceneOpenGLBackend VsyncSupport Qt5::X11Extras XCB::CURSOR KF5::Crash X11::X11) +target_link_libraries(KWinX11Platform eglx11common kwin kwinxrenderutils SceneOpenGLBackend VsyncSupport Qt::X11Extras XCB::CURSOR KF5::Crash X11::X11) if (X11_Xi_FOUND) target_sources(KWinX11Platform PRIVATE xinputintegration.cpp) target_link_libraries(KWinX11Platform X11::Xi) diff --git a/plugins/qpa/CMakeLists.txt b/plugins/qpa/CMakeLists.txt index 61744ac366..3ffa237456 100644 --- a/plugins/qpa/CMakeLists.txt +++ b/plugins/qpa/CMakeLists.txt @@ -22,9 +22,9 @@ target_include_directories(KWinQpaPlugin PRIVATE ) target_link_libraries(KWinQpaPlugin PRIVATE - Qt5::FontDatabaseSupportPrivate - Qt5::ThemeSupportPrivate - Qt5::EventDispatcherSupportPrivate + Qt::FontDatabaseSupportPrivate + Qt::ThemeSupportPrivate + Qt::EventDispatcherSupportPrivate Freetype::Freetype # Must be after Qt5 platform support libs Fontconfig::Fontconfig kwin diff --git a/scripting/CMakeLists.txt b/scripting/CMakeLists.txt index c1d4521580..7b8cd6e662 100644 --- a/scripting/CMakeLists.txt +++ b/scripting/CMakeLists.txt @@ -5,7 +5,7 @@ target_link_libraries(kcm_kwin4_genericscripted KF5::ConfigWidgets #KCModule KF5::I18n KF5::Service - Qt5::DBus - Qt5::UiTools + Qt::DBus + Qt::UiTools ) install(TARGETS kcm_kwin4_genericscripted DESTINATION ${KDE_INSTALL_PLUGINDIR}/kwin/effects/configs) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e52e68e44b..a315944d4d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -7,7 +7,7 @@ endif() # next target set(screenedgeshowtest_SRCS screenedgeshowtest.cpp) add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS}) -target_link_libraries(screenedgeshowtest Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem KF5::WaylandClient ${XCB_XCB_LIBRARY}) +target_link_libraries(screenedgeshowtest Qt::Widgets Qt::X11Extras KF5::ConfigCore KF5::WindowSystem KF5::WaylandClient ${XCB_XCB_LIBRARY}) set(libinputtest_SRCS ${KWin_SOURCE_DIR}/libinput/connection.cpp @@ -21,20 +21,20 @@ set(libinputtest_SRCS ) add_executable(libinputtest ${libinputtest_SRCS}) add_definitions(-DKWIN_BUILD_TESTING) -target_link_libraries(libinputtest Qt5::Core Qt5::DBus Libinput::Libinput UDev::UDev KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem) +target_link_libraries(libinputtest Qt::Core Qt::DBus Libinput::Libinput UDev::UDev KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem) add_executable(x11shadowreader x11shadowreader.cpp) -target_link_libraries(x11shadowreader XCB::XCB Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem) +target_link_libraries(x11shadowreader XCB::XCB Qt::Widgets Qt::X11Extras KF5::ConfigCore KF5::WindowSystem) add_executable(pointerconstraints pointerconstraintstest.cpp) add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}") -target_link_libraries(pointerconstraints XCB::XCB Qt5::Gui Qt5::Quick KF5::WaylandClient) +target_link_libraries(pointerconstraints XCB::XCB Qt::Gui Qt::Quick KF5::WaylandClient) add_executable(pointergestures pointergesturestest.cpp) add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}") -target_link_libraries(pointergestures Qt5::Gui Qt5::Quick KF5::WaylandClient) +target_link_libraries(pointergestures Qt::Gui Qt::Quick KF5::WaylandClient) add_executable(cursorhotspottest cursorhotspottest.cpp) -target_link_libraries(cursorhotspottest Qt5::Widgets) +target_link_libraries(cursorhotspottest Qt::Widgets) include_directories(${CMAKE_CURRENT_BINARY_DIR})