diff --git a/CMakeLists.txt b/CMakeLists.txt
index 054e383c20..ad92a79da6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,7 +97,7 @@ endif()
if( KWIN_BUILD_DECORATIONS )
add_subdirectory( clients )
endif()
-# add_subdirectory( data )
+add_subdirectory( data )
add_subdirectory( effects )
add_subdirectory( scripts )
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 46decee122..981ce4b840 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -4,7 +4,7 @@ set(kwin_update_default_rules_SRCS update_default_rules.cpp)
add_executable( kwin_update_default_rules ${kwin_update_default_rules_SRCS})
-target_link_libraries( kwin_update_default_rules )
+target_link_libraries( kwin_update_default_rules Qt5::Core Qt5::DBus KF5::ConfigCore KF5::KDE4Support )
install(TARGETS kwin_update_default_rules DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin/ )
diff --git a/data/update_default_rules.cpp b/data/update_default_rules.cpp
index 6a2d91b03f..e90c0446b3 100644
--- a/data/update_default_rules.cpp
+++ b/data/update_default_rules.cpp
@@ -23,7 +23,7 @@ along with this program. If not, see .
#include
#include
#include
-#include
+#include
#include
#include
#include
@@ -34,7 +34,7 @@ int main( int argc, char* argv[] )
{
if( argc != 2 )
return 1;
- KAboutData about( "kwin_update_default_rules", "kwin", KLocalizedString(), 0 );
+ K4AboutData about( "kwin_update_default_rules", "kwin", KLocalizedString(), 0 );
KCmdLineArgs::init( argc, argv, &about );
KComponentData inst( &about );
Q_UNUSED( KGlobal::locale() ); // jump-start locales to get to translated descriptions