-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Master does not compile with Qt5 libraries #20339
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Matthias Kuhn (@m-kuhn) Fixed in changeset "2e9cc1a4fff94811d87f7958e3defe64ca0462d5".
|
Author Name: Bogdan Hlevca (@bhlevca) Got master/latest from git. Still not compiling for me. Perhaps I need a QWT library based on QT5? Would QWT6 do better? I think that I tried that one and did not compile [ 34%] Building CXX object src/providers/ogr/CMakeFiles/ogrprovider.dir/qgsogrdataitems.cpp.o
|
Author Name: Matthias Kuhn (@m-kuhn) Yes, you will need to build against a QWT library compiled and linked against Qt5. I think QWT 5 does not build against Qt5.
|
Author Name: Bogdan Hlevca (@bhlevca)
Original Redmine Issue: 12145
Affected QGIS version: master
Redmine category:build/install
Building CXX object src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2registry.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2utils.cpp.o
In file included from /software/software/Graphics/Maps/QGIS-QT5/src/core/qgsvectorlayer.h:27:0,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/symbology-ng/qgsmarkersymbollayerv2.h:20,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/symbology-ng/qgssymbolv2.cpp:20:
/software/software/Graphics/Maps/QGIS-QT5/src/core/qgsmaplayer.h:558:10: error: ‘void QgsMapLayer::connectNotify(const char*)’ marked override, but does not override
void connectNotify( const char * signal ) override;
^
In file included from /software/software/Graphics/Maps/QGIS-QT5/src/core/qgsvectorlayer.h:27:0,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/symbology-ng/qgsmarkersymbollayerv2.h:20,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/symbology-ng/qgsellipsesymbollayerv2.h:18,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/symbology-ng/qgssymbollayerv2registry.cpp:18:
/software/software/Graphics/Maps/QGIS-QT5/src/core/qgsmaplayer.h:558:10: error: ‘void QgsMapLayer::connectNotify(const char*)’ marked override, but does not override
void connectNotify( const char * signal ) override;
^
In file included from /software/software/Graphics/Maps/QGIS-QT5/src/core/qgsvectorlayer.h:27:0,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/symbology-ng/qgssymbollayerv2.cpp:20:
/software/software/Graphics/Maps/QGIS-QT5/src/core/qgsmaplayer.h:558:10: error: ‘void QgsMapLayer::connectNotify(const char*)’ marked override, but does not override
void connectNotify( const char * signal ) override;
^
src/core/CMakeFiles/qgis_core.dir/build.make:755: recipe for target 'src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbolv2.cpp.o' failed
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbolv2.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/core/CMakeFiles/qgis_core.dir/build.make:801: recipe for target 'src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2registry.cpp.o' failed
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2registry.cpp.o] Error 1
src/core/CMakeFiles/qgis_core.dir/build.make:778: recipe for target 'src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2.cpp.o' failed
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2.cpp.o] Error 1
In file included from /software/software/Graphics/Maps/QGIS-QT5/src/core/qgstolerance.h:20:0,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/qgssnapper.h:22,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/qgsproject.h:32,
from /software/software/Graphics/Maps/QGIS-QT5/src/core/symbology-ng/qgssymbollayerv2utils.cpp:24:
With ENABLE_QT5 ON the error is (compiles find with Qt4:
/software/software/Graphics/Maps/QGIS-QT5/src/core/qgsmaplayer.h:558:10: error: ‘void QgsMapLayer::connectNotify(const char*)’ marked override, but does not override
void connectNotify( const char * signal ) override;
^
src/core/CMakeFiles/qgis_core.dir/build.make:824: recipe for target 'src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2utils.cpp.o' failed
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/symbology-ng/qgssymbollayerv2utils.cpp.o] Error 1
CMakeFiles/Makefile2:1116: recipe for target 'src/core/CMakeFiles/qgis_core.dir/all' failed
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
bogdan@high:/software/software/Graphics/Maps/QGIS-QT5/build>
The text was updated successfully, but these errors were encountered: