see attached patch

regards, Treeve
From 022816ffba0e1ff4eb59f51432a76f8afadb460d Mon Sep 17 00:00:00 2001
From: Treeve Jelbert <tre...@sourcemage.org>
Date: Thu, 19 Mar 2015 17:47:48 +0100
Subject: [PATCH] build fixes
---
 CMakeLists.txt         | 2 +-
 src/CMakeLists.txt     | 1 +
 src/KPropertyUtils.cpp | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c29c59..8d73aa1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ set(REQUIRED_QT_VERSION "5.2.0")
 
 # Required components to build this framework
 find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
-find_package(KF5 5.7.0 REQUIRED Config CoreAddons WidgetsAddons GuiAddons)
+find_package(KF5 5.7.0 REQUIRED Config CoreAddons WidgetsAddons GuiAddons 
FrameworkIntegration)
 #TODO KIO
 
 add_subdirectory(src)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4339c20..946cb6b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -50,6 +50,7 @@ target_link_libraries(KProperty
     KF5::WidgetsAddons
     KF5::GuiAddons
     #TODO KF5::KIOWidgets
+    KF5::Style
 )
 
 set_target_properties(KProperty
diff --git a/src/KPropertyUtils.cpp b/src/KPropertyUtils.cpp
index 9666d48..c7486e9 100644
--- a/src/KPropertyUtils.cpp
+++ b/src/KPropertyUtils.cpp
@@ -25,6 +25,7 @@
 
 #include <QPainter>
 #include <QPixmap>
+#include <QPointer>
 #include <QStyle>
 #include <QStyleOption>
 #include <QStyleOptionHeader>
-- 
2.4.1

_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to