diff --git a/src/plugins/qpa/CMakeLists.txt b/src/plugins/qpa/CMakeLists.txt index 3ffa237456..952a5f5e91 100644 --- a/src/plugins/qpa/CMakeLists.txt +++ b/src/plugins/qpa/CMakeLists.txt @@ -16,12 +16,9 @@ ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA add_library(KWinQpaPlugin OBJECT ${QPA_SOURCES}) target_compile_definitions(KWinQpaPlugin PRIVATE QT_STATICPLUGIN) -target_include_directories(KWinQpaPlugin PRIVATE - ${Qt5Core_PRIVATE_INCLUDE_DIRS} - ${Qt5Gui_PRIVATE_INCLUDE_DIRS} -) - target_link_libraries(KWinQpaPlugin PRIVATE + Qt::CorePrivate + Qt::GuiPrivate Qt::FontDatabaseSupportPrivate Qt::ThemeSupportPrivate Qt::EventDispatcherSupportPrivate