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

Micha Silver micha at arava.co.il
Fri Feb 26 11:43:15 EST 2010


Jürgen E. Fischer wrote:

> 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):
>   
Jurgen:
Perfect! That was it.
So I guess the version check was only for the first digit, i.e. 4.10 was 
seen as 4.1 ??
Many thanks for your speedy reply.
> 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
>
>   


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://www.surfaces.co.il
 



More information about the Qgis-developer mailing list