[QGIS-Developer] Cannot build qgis with sip 2.19

David Marteau dmarteau at 3liz.com
Mon May 29 08:17:13 PDT 2017

Hi all, 

There is no way to build qgis 2.18 (latest on branch) on osx with qt4 and sip 2.19:

Traceback (most recent call last):
  File "../../../../../scripts/pyuic-wrapper.py", line 26, in <module>
    import qgis.PyQt.uic.pyuic
  File "/Users/david/Projets/qgis/QGIS/build/output/python/qgis/__init__.py", line 27, in <module>
    from qgis.core import QgsFeature, QgsGeometry
  File "/Users/david/Projets/qgis/QGIS/build/output/python/qgis/core/__init__.py", line 30, in <module>
    from qgis._core import *
RuntimeError: qgis._core cannot import type 'QList<QVariant>' from PyQt4.QtCore

make[3]: *** [python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:118: python/plugins/GdalTools/tools/ui_dialogAbout.py] Error 1
make[3]: Leaving directory '/Users/david/Projets/qgis/QGIS/build'
make[2]: *** [CMakeFiles/Makefile2:5391: python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all] Error 2
make[2]: Leaving directory '/Users/david/Projets/qgis/QGIS/build'
make[1]: *** [Makefile:163: all] Error 2
make[1]: Leaving directory '/Users/david/Projets/qgis/QGIS/build'
make: *** [Makefile:29: build] Error 2

This seems to be related to 


I suspect that there is no proper sip definition for QList<QVariant>. compatible with sip 2.19

Any clue ?


More information about the QGIS-Developer mailing list