From a1d61bb6e8a03e6a7ca44a2aaf1834b08d2c9808 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Sat, 5 Mar 2022 14:09:11 +0100 Subject: [PATCH] Link against Qt::CorePrivate as we use internal event loop headers here Needed to compile against Qt6. --- src/wayland/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/tests/CMakeLists.txt b/src/wayland/tests/CMakeLists.txt index 0d3f352bb8..cc587d4761 100644 --- a/src/wayland/tests/CMakeLists.txt +++ b/src/wayland/tests/CMakeLists.txt @@ -6,7 +6,7 @@ set(testServer_SRCS waylandservertest.cpp ) add_executable(testServer ${testServer_SRCS}) -target_link_libraries(testServer Plasma::KWaylandServer) +target_link_libraries(testServer Plasma::KWaylandServer Qt::CorePrivate) ecm_mark_as_test(testServer) find_package(Qt${QT_MAJOR_VERSION}Widgets ${QT_MIN_VERSION} CONFIG QUIET)