Standalone build of the plugin. --- a/CMakeLists.txt 2018-01-04 21:38:30.921464554 +0100 +++ b/CMakeLists.txt 2018-01-04 21:38:30.890464324 +0100 @@ -1,5 +1,12 @@ +cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR) + project(qguiplatformplugin_kde) +find_package(KDE4 4.9.4 REQUIRED) +include(KDE4Defaults) +add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) +include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) + set(kde_SOURCES qguiplatformplugin_kde.cpp) qt4_generate_moc(qguiplatformplugin_kde.cpp ${CMAKE_CURRENT_BINARY_DIR}/qguiplatformplugin_kde.moc)