[QGIS-trac] Re: [Quantum GIS] #2446: Python.cmake is wrong about python-sip version

Quantum GIS qgis at qgis.org
Tue Feb 16 05:38:06 EST 2010


#2446: Python.cmake is wrong about python-sip version
-----------------------------------------------------+----------------------
        Reporter:  antimirov                         |         Owner:  borysiasty      
            Type:  bug                               |        Status:  closed          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.5.0   
       Component:  Python plugins and bindings       |       Version:  HEAD            
      Resolution:  fixed                             |      Keywords:  python sip cmake
Platform_version:                                    |      Platform:  Debian          
        Must_fix:  No                                |   Status_info:  0               
-----------------------------------------------------+----------------------
Changes (by wonder):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 What QGIS version is that? This is not a problem anymore in SVN trunk
 (will be released as 1.5).

 I think the development releases (v1.1 - v1.4) are affected, but there are
 no plans for further bugfix releases. So you might fix the problem
 manually in cmake/Python.cmake file:

 Lines (153-155)
 {{{
 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}")
 }}}
 change to just
 {{{
   SET (SIP_IS_GOOD TRUE)
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2446#comment:3>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list