[QGIS-Developer] Problems compiling QGIS 3.0: no matching function for call to QgsLayerTreeLayer::connect

Luigi Pirelli luipir at gmail.com
Tue Mar 6 01:40:58 PST 2018


that code lines are unchanged since (at least) 1yr. Can you check if a
clean build can solve the problem?
Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**************************************************************************************************


On 6 March 2018 at 10:28, Hernán De Angelis <dhdeangelis at gmail.com> wrote:
> Hi
>
> I am trying to build QGIS 3.0 in openSUSE Leap 42.3. I went through all
> requirements and as far as I understand I have all the requirements properly
> installed.
>
> I nevertheless get this error consistently:
>
> Building CXX object
> src/core/CMakeFiles/qgis_core.dir/layertree/qgslayertreelayer.cpp.o
> /usr/local/src/qgis-3.0.0/src/core/layertree/qgslayertreelayer.cpp: In
> member function ‘void QgsLayerTreeLayer::attachToLayer()’:
> /usr/local/src/qgis-3.0.0/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 );
>
> What could possibly be the source of this? I will be grateful if someone can
> help pinpoint the cause.
>
> The code I am trying to build is the latest source package (2018-02-23).
>
> Thanks in advance
>
> H.
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list