[kdevplatform] d3af706 Increase KDE requirement to 4.4 to fix the build f

Andreas Pakulat apaku at gmx.de
Tue Jun 1 14:33:05 UTC 2010

commit d3af70649a0882d14505d3a671464eae134779d2
Author: Andreas Pakulat <apaku at gmx.de>
Date:   Tue Jun 1 16:38:56 2010 +0200

    Increase KDE requirement to 4.4 to fix the build for now.
    Problem is that qobject_interface_iid<> was introduced with qt4.6 and
    its a function that is specialized inside the Q_DECLARE_INTERFACE macro.
    As I absolutely want to avoid having again 2 macros that are necessary
    for our plugins to work I've raised the requirement for now to make sure
    everybody has Qt4.6 when building master. I'm open for suggestions about
    other ways of converting a typename into typename_iid at runtime without
    introducing a second macro (and if possible without having to change
    CCMAIL: kdevelop-devel at kdevelop.org

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 74b1c5e..24c88d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,8 +10,8 @@ set(KDEVPLATFORM_VERSION_MAJOR 1)
-set(KDE_MIN_VERSION "4.3.0")
-find_package(KDE4 4.3.0 REQUIRED)
+set(KDE_MIN_VERSION "4.4.0")
+find_package(KDE4 4.4.0 REQUIRED)
 find_package(ZLIB REQUIRED)
 include (KDE4Defaults)

More information about the KDevelop-devel mailing list