[QGIS-Developer] Building on Centos 7

Elias Carter ecarter at 3vgeomatics.com
Thu Apr 11 17:27:02 PDT 2019


Hello, I was wondering if anyone has experience building QGIS 3 on Centos 7?
I have created a Centos 7 docker image to run the build with all the
dependent libraries but I have hit a wall when running the compile.

I managed to get the build to correctly configure using cmake but then I
get an compile error complaining about types (build log is attached to this
email). Does anyone have intuition on what is going wrong?

If people are interested I could share the Centos 7 docker image I am using
to build.

Thanks,
Elias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190411/c53e1c77/attachment-0001.html>
-------------- next part --------------
[root at 1630787f4008 build_3.4]# make -j 10
[  0%] Built target zzz-MetaSearch-46-depend
[  0%] Built target zzz-MetaSearch-43-depend
[  0%] Built target version
[  0%] Built target zzz-MetaSearch-48-depend
[  0%] Built target zzz-MetaSearch-47-depend
[  0%] Built target zzz-MetaSearch-45-depend
[  0%] Built target zzz-MetaSearch-44-depend
[  6%] Built target ui
[  6%] Built target zzz-db_manager-13-depend
[  6%] Built target libdxfrw
[  6%] Built target zzz-db_manager-12-depend
[  6%] Built target zzz-db_manager-14-depend
[  6%] Built target qgis_native
[  6%] Built target zzz-db_manager-2-depend
[  6%] Built target zzz-db_manager-1-depend
[  6%] Built target zzz-db_manager-6-depend
[  6%] Built target zzz-db_manager-8-depend
[  6%] Built target zzz-db_manager-3-depend
[  6%] Built target zzz-db_manager-4-depend
[  6%] Built target zzz-db_manager-9-depend
[  6%] Built target zzz-db_manager-10-depend
[  6%] Built target zzz-processing-41-depend
[  6%] Built target zzz-db_manager-11-depend
[  6%] Built target zzz-db_manager-7-depend
[  6%] Built target zzz-processing-42-depend
[  6%] Built target zzz-processing-29-depend
[  6%] Built target zzz-processing-16-depend
[  6%] Built target zzz-processing-19-depend
[  6%] Built target zzz-processing-18-depend
[  6%] Built target zzz-processing-17-depend
[  6%] Built target zzz-processing-21-depend
[  6%] Built target zzz-processing-24-depend
[  6%] Built target zzz-processing-20-depend
[  6%] Built target pyutils
[  6%] Built target zzz-processing-23-depend
[  6%] Built target zzz-processing-27-depend
[  6%] Built target zzz-processing-22-depend
[  6%] Built target zzz-processing-28-depend
[  6%] Built target zzz-processing-26-depend
[  6%] Built target zzz-processing-30-depend
[  6%] Built target zzz-processing-31-depend
[  6%] Built target zzz-processing-25-depend
[  6%] Built target zzz-processing-33-depend
[  6%] Built target zzz-processing-34-depend
[  6%] Built target zzz-processing-32-depend
[  6%] Built target zzz-processing-35-depend
[  6%] Built target zzz-processing-36-depend
[  6%] Built target zzz-processing-38-depend
[  6%] Built target zzz-processing-39-depend
[  6%] Built target zzz-processing-40-depend
[  6%] Built target zzz-processing-37-depend
[  6%] Built target qgis_wmscapabilititestestmoc
[  6%] Built target qgis_ogrprovidertestmoc
[  6%] Built target qgis_gdalprovidertestmoc
[  6%] Built target qgis_wcsprovidertestmoc
[  6%] Built target qgis_wmsprovidertestmoc
[  6%] Built target qgis_postgresprovidertestmoc
[  6%] Built target qgis_arcgisrestutilstestmoc
[  6%] Built target qgis_postgresconntestmoc
[  6%] Built target qgis_maptoolselectmoc
[  6%] Built target pytesting
[  6%] Built target qgis_maptoolidentifyactionmoc
[  6%] Built target qgis_applocatorfiltersmoc
[  6%] Built target qgis_maptoolreshapemoc
[  6%] Built target qgis_fieldcalculatortestmoc
[  6%] Built target qgis_apppythontestmoc
[  6%] Built target qgis_qgisappclipboardmoc
[  6%] Built target qgis_qgisappmoc
[  6%] Built target qgis_attributetabletestmoc
[  6%] Built target qgis_measuretoolmoc
[  6%] Built target qgis_maptoolcircularstringtestmoc
[  6%] Built target qgis_maptoolellipsetestmoc
[  6%] Built target qgis_maptoolcircletestmoc
[  6%] Built target qgis_maptoolregularpolygontestmoc
[  6%] Built target qgis_maptoolreverselinetestmoc
[  6%] Built target qgis_vertextoolmoc
[  6%] Built target qgis_vectorlayersaveasdialogtestmoc
[  6%] Built target qgis_maptoolrectangletestmoc
[  6%] Built target qgis_maptooladdfeaturemoc
[  6%] Built target zzz-MetaSearch-depend
[  6%] Built target zzz-processing-depend
[  6%] Built target zzz-MetaSearch-stageinstall
[  6%] Built target zzz-processing-stageinstall
[  6%] Built target pyqtcompat
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/annotations/qgstextannotation.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/layertree/qgslayertreelayer.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/annotations/qgsannotation.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/auth/qgsauthmethodmetadata.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/annotations/qgsannotationmanager.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/auth/qgsauthmethodregistry.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/annotations/qgssvgannotation.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/expression/qgsexpression.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/annotations/qgshtmlannotation.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/auth/qgsauthmanager.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/expression/qgsexpressionnode.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/expression/qgsexpressionnodeimpl.cpp.o
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp: In member function 'void QgsLayerTreeLayer::attachToLayer()':
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:72:94: error: no matching function for call to 'QgsLayerTreeLayer::connect(QPointer<QgsMapLayer>&, void (QgsMapLayer::*)(), QgsLayerTreeLayer* const, void (QgsLayerTreeLayer::*)())'
   connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );
                                                                                              ^
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:72:94: note: candidates are:
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:213:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:213:36: note:   no known conversion for argument 2 from 'void (QgsMapLayer::*)()' to 'const char*'
/usr/include/qt5/QtCore/qobject.h:216:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:216:36: note:   no known conversion for argument 2 from 'void (QgsMapLayer::*)()' to 'const QMetaMethod&'
/usr/include/qt5/QtCore/qobject.h:468:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/qt5/QtCore/qobject.h:468:32: note:   no known conversion for argument 2 from 'void (QgsMapLayer::*)()' to 'const char*'
/usr/include/qt5/QtCore/qobject.h:233:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/usr/include/qt5/QtCore/qobject.h:233:43: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:72:94: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );
                                                                                              ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:265:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:265:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:72:94: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );
                                                                                              ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:274:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:274:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:72:94: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );
                                                                                              ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:305:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:305:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:72:94: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );
                                                                                              ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:313:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:313:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:72:94: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );
                                                                                              ^
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:73:98: error: no matching function for call to 'QgsLayerTreeLayer::connect(QPointer<QgsMapLayer>&, void (QgsMapLayer::*)(), QgsLayerTreeLayer* const, void (QgsLayerTreeLayer::*)())'
   connect( mRef.layer, &QgsMapLayer::willBeDeleted, this, &QgsLayerTreeLayer::layerWillBeDeleted );
                                                                                                  ^
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:73:98: note: candidates are:
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:213:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:213:36: note:   no known conversion for argument 2 from 'void (QgsMapLayer::*)()' to 'const char*'
/usr/include/qt5/QtCore/qobject.h:216:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:216:36: note:   no known conversion for argument 2 from 'void (QgsMapLayer::*)()' to 'const QMetaMethod&'
/usr/include/qt5/QtCore/qobject.h:468:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/qt5/QtCore/qobject.h:468:32: note:   no known conversion for argument 2 from 'void (QgsMapLayer::*)()' to 'const char*'
/usr/include/qt5/QtCore/qobject.h:233:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/usr/include/qt5/QtCore/qobject.h:233:43: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:73:98: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::willBeDeleted, this, &QgsLayerTreeLayer::layerWillBeDeleted );
                                                                                                  ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:265:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:265:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:73:98: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::willBeDeleted, this, &QgsLayerTreeLayer::layerWillBeDeleted );
                                                                                                  ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:274:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:274:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:73:98: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::willBeDeleted, this, &QgsLayerTreeLayer::layerWillBeDeleted );
                                                                                                  ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:305:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:305:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:73:98: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::willBeDeleted, this, &QgsLayerTreeLayer::layerWillBeDeleted );
                                                                                                  ^
In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
                 from /usr/include/qt5/QtCore/qmetaobject.h:45,
                 from /usr/include/qt5/QtCore/QMetaEnum:1,
                 from /build/qgis-3.4/src/core/qgis.h:26,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.h:20,
                 from /build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:16:
/usr/include/qt5/QtCore/qobject.h:313:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:313:13: note:   template argument deduction/substitution failed:
/build/qgis-3.4/src/core/layertree/qgslayertreelayer.cpp:73:98: note:   mismatched types 'const typename QtPrivate::FunctionPointer<Func>::Object*' and 'QPointer<QgsMapLayer>'
   connect( mRef.layer, &QgsMapLayer::willBeDeleted, this, &QgsLayerTreeLayer::layerWillBeDeleted );
                                                                                                  ^
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/expression/qgsexpressionfunction.cpp.o
[  6%] Building CXX object src/core/CMakeFiles/qgis_core.dir/expression/qgsexpressionutils.cpp.o
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/layertree/qgslayertreelayer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2
[root at 1630787f4008 build_3.4]# 


More information about the QGIS-Developer mailing list