KDevPlatform does not compile

Laszlo Papp djszapi at archlinux.us
Mon Jun 6 00:32:44 UTC 2011


Hi,

That was a good idea and there is a small extension to that patach in
order to not get linkage error.

Thank you!

Best Regards,
Laszlo Papp

diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
index 565e264..49cfed8 100644
--- a/util/CMakeLists.txt
+++ b/util/CMakeLists.txt
@@ -21,7 +21,9 @@ set (kdevplatformutil_LIB_UI
     runoptions.ui
 )

-add_subdirectory(dbus_socket_transformer)
+if(NOT WIN32)
+    add_subdirectory(dbus_socket_transformer)
+endif(NOT WIN32)

 add_subdirectory(duchainify)

diff --git a/vcs/widgets/vcsdiffpatchsources.h
b/vcs/widgets/vcsdiffpatchsources.h
index cd5fa7b..8c60e44 100644
--- a/vcs/widgets/vcsdiffpatchsources.h
+++ b/vcs/widgets/vcsdiffpatchsources.h
@@ -58,7 +58,7 @@ private:
 };


-class VCSDiffPatchSource : public KDevelop::IPatchSource {
+class KDEVPLATFORMVCS_EXPORT VCSDiffPatchSource : public
KDevelop::IPatchSource {
     public:
     /// The ownership of the updater is taken
     VCSDiffPatchSource(VCSDiffUpdater* updater);




More information about the KDevelop-devel mailing list