[Qgis-developer] Fedroa 12 and new version of qt

Jürgen E. Fischer jef at norbit.de
Fri Feb 26 08:45:42 EST 2010


Hi Micha,

On Fri, 26. Feb 2010 at 15:41:00 +0200, Micha Silver wrote:
>>> -- SIP is required in version 4.7 or later!
>> ^^^^^^^^^^^^^^^^^^^^^^^

> micha at hayun-13:~/Download/qgis-1.4.0/build$ sip -V
> 4.10

ah. try should help (from the debian package in unstable):

diff -urNad qgis-1.4.0+12730~/cmake/Python.cmake qgis-1.4.0+12730/cmake/Python.cmake
--- qgis-1.4.0+12730~/cmake/Python.cmake	2010-01-07 11:33:11.000000000 +0100
+++ qgis-1.4.0+12730/cmake/Python.cmake	2010-02-05 18:02:29.000000000 +0100
@@ -148,8 +148,8 @@
     IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)
       # check for SIP version
       # minimal version is 4.7 (to support universal builds)
-      SET (SIP_MIN_VERSION 040700)
-      TRY_RUN_PYTHON (RES "import sip\nprint '%x' % sip.SIP_VERSION" SIP_VERSION)
+      SET (SIP_MIN_VERSION 263936) # 0x40700
+      TRY_RUN_PYTHON (RES "import sip\nprint '%d' % sip.SIP_VERSION" SIP_VERSION)
       IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER "${SIP_MIN_VERSION}")
         SET (SIP_IS_GOOD TRUE)
       ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER "${SIP_MIN_VERSION}")



Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list