Wednesday, 10 October 2018

Is it possible to build QGIS with qt5 without changing the code?


I wish to build QGIS using qt5. As told here (Can I use QGIS with Qt5?) it is possible with GIS 2.10.


So i've loaded sources from here git://github.com/qgis/QGIS.git and switched to remotes/origin/release-2_10 branch.


During the compile process i've got lots of errors.



The first is:


.../QGIS/src/core/geometry/qgsgeometry.cpp: In member function ‘void QgsGeometry::detach(bool)’:
.../QGIS/src/core/geometry/qgsgeometry.cpp:110:17: error: no match for ‘operator>’ in ‘((QgsGeometry*)this)->QgsGeometry::d->QgsGeometryPrivate::ref > 1’

Any suggestions? Is it realy possible to build QGis using qt5, without changing code?




No comments:

Post a Comment