[QGIS-Developer] Fwd: Cannot build qgis with sip 4.19

David Marteau dmarteau at 3liz.com
Mon May 29 08:26:27 PDT 2017


Please read sip 4.19

> Début du message réexpédié :
> 
> De: David Marteau <dmarteau at 3liz.com>
> Objet: Cannot build qgis with sip 2.19 
> Date: 29 mai 2017 17:17:13 UTC+2
> À: qgis-developer <qgis-developer at lists.osgeo.org>
> 
> 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 
> 
> https://issues.qgis.org/issues/16343
> https://issues.qgis.org/issues/16071
> 
> I suspect that there is no proper sip definition for QList<QVariant>. compatible with sip 2.19
> 
> Any clue ?
> 
> David,
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170529/25aaf7a6/attachment-0001.html>


More information about the QGIS-Developer mailing list