<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Dear friend,</p>
<p><br /></p>
<p>While i am trying to compile qgis 3.9 version with qt 5.9 version and cmake version 3.1 on Redhat Enterprise Linux 7.5. not able to complie because of following error occurred.</p>
<p>Installed all required plugins like grass 7, geos, gsl, installed.</p>
<p>can any body please give me solution. i am not able to proceed my work. i am attaching full compiled output text.</p>
<p><br /></p>
<p>/root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.cpp: In member function ‘void QgsLayerTreeLayer::attachToLayer()’:<br />/root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.cpp:72:94: error: no matching function for call to ‘QgsLayerTreeLayer::connect(QPointer<QgsMapLayer>&, void (QgsMapLayer::*)(), QgsLayerTreeLayer* const, void (QgsLayerTreeLayer::*)())’<br />connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );<br />^<br />/root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.cpp:72:94: note: candidates are:<br />In file included from /usr/include/qt5/QtCore/QObject:1:0,<br />from /root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreenode.h:20,<br />from /root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.h:21,<br />from /root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.cpp:16:<br />/usr/include/qt5/QtCore/qobject.h:213:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)<br />static QMetaObject::Connection connect(const QObject *sender, const char *signal,<br />^<br />/usr/include/qt5/QtCore/qobject.h:213:36: note: no known conversion for argument 2 from ‘void (QgsMapLayer::*)()’ to ‘const char*’<br />/usr/include/qt5/QtCore/qobject.h:216:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)<br />static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,<br />^<br />/usr/include/qt5/QtCore/qobject.h:216:36: note: no known conversion for argument 2 from ‘void (QgsMapLayer::*)()’ to ‘const QMetaMethod&’<br />/usr/include/qt5/QtCore/qobject.h:468:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const<br />inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,<br />^<br />/usr/include/qt5/QtCore/qobject.h:468:32: note: no known conversion for argument 2 from ‘void (QgsMapLayer::*)()’ to ‘const char*’<br />/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)<br />static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,<br />^<br />/usr/include/qt5/QtCore/qobject.h:233:43: note: template argument deduction/substitution failed:<br />/root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.cpp:72:94: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QgsMapLayer>’<br />connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );<br />^<br />In file included from /usr/include/qt5/QtCore/QObject:1:0,<br />from /root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreenode.h:20,<br />from /root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.h:21,<br />from /root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.cpp:16:<br />/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)<br />connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)<br />^<br />/usr/include/qt5/QtCore/qobject.h:265:13: note: template argument deduction/substitution failed:<br />/root/Softwares/qgis/QGIS-master/src/core/layertree/qgslayertreelayer.cpp:72:94: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QgsMapLayer>’<br />connect( mRef.layer, &QgsMapLayer::nameChanged, this, &QgsLayerTreeLayer::layerNameChanged );</p>
<p><br /></p>
<p><br /></p>
<p>with regards</p>
<p>Krishna K</p>

</body></html>