Link against Qt::CorePrivate as we use internal event loop headers here

Needed to compile against Qt6.
This commit is contained in:
Volker Krause 2022-03-05 14:09:11 +01:00
parent 0952512e0a
commit a1d61bb6e8

View file

@ -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)