-
Notifications
You must be signed in to change notification settings - Fork 942
Description
I am trying to update from Qt5.15 to Qt6.8. We are using gcc 11. I downloaded the latest QtNodes a couple of days ago. I'm having a problem building QtNodes. I don't know if the problem is within QtNodes, Qt, or some symbol or option set wrong. I'm getting hundreds of errors that look like this:
In file included from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qglobal.h:63, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qnamespace.h:12, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qobjectdefs.h:12, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/QMetaObject:1, from /fa/sw/qtnodes/v3-08-jbf2-02/include/QtNodes/internal/Definitions.hpp:5, from /fa/sw/qtnodes/v3-08-jbf2-02/include/QtNodes/internal/ConnectionIdHash.hpp:5, from /fa/sw/qtnodes/v3-08-jbf2-02/include/QtNodes/internal/AbstractGraphModel.hpp:3, from /fa/sw/qtnodes/v3-08-jbf2-02/src/AbstractGraphModel.cpp:1: /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qmetatype.h: In function ‘bool operator==(const QMetaType&, const QMetaType&)’: /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qmetatype.h:536:5: error: static assertion failed: Use *_NON_NOEXCEPT version of the macro, or make the helper function noexcept Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(QMetaType) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qglobal.h:63, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qnamespace.h:12, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qobjectdefs.h:12, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/QMetaObject:1, from /fa/sw/qtnodes/v3-08-jbf2-02/include/QtNodes/internal/Definitions.hpp:5, from /fa/sw/qtnodes/v3-08-jbf2-02/include/QtNodes/internal/AbstractNodeGeometry.hpp:3, from /fa/sw/qtnodes/v3-08-jbf2-02/src/AbstractNodeGeometry.cpp:1: /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qmetatype.h: In function ‘bool operator==(const QMetaType&, const QMetaType&)’: /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qmetatype.h:536:5: error: static assertion failed: Use *_NON_NOEXCEPT version of the macro, or make the helper function noexcept Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(QMetaType) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qglobal.h:63, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtGui/qtguiglobal.h:7, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtGui/qcolor.h:7, from /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtGui/QColor:1, from /fa/sw/qtnodes/v3-08-jbf2-02/include/QtNodes/internal/GraphicsViewStyle.hpp:3, from /fa/sw/qtnodes/v3-08-jbf2-02/src/GraphicsViewStyle.cpp:1: /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qmetatype.h: In function ‘bool operator==(const QMetaType&, const QMetaType&)’: /fa/sw/qt/6.8-02/amd64_gcc11_pic/install/6.8.0/gcc_64/include/QtCore/qmetatype.h:536:5: error: static assertion failed: Use *_NON_NOEXCEPT version of the macro, or make the helper function noexcept
As near as I can tell online, there was a change in Qt6 that required a code change in programs that use Qt6. I don't see any indication that that was done for QtNodes.
Any suggestions or help would be appreciated. Thanks