Hi.
I’m trying to install the latest QCA on the latest Qt 6.
cmake command executes fine, but when I try to run “make”, this is what I get:
[ 0%] Built target qca-qt6_autogen_timestamp_deps
[ 0%] Built target qca-qt6_autogen
[ 0%] Building CXX object src/CMakeFiles/qca-qt6.dir/qca-qt6_autogen/mocs_compilation.cpp.o
In file included from /cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qglobal.h:63,
from /cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qmetatype.h:9,
from /cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/QMetaType:1,
from /cs/local/pkg/Qt/qca/build/src/qca-qt6_autogen/J7M6AUHDER/../../../../include/QtCrypto/qca_tools.h:40,
from /cs/local/pkg/Qt/qca/build/src/qca-qt6_autogen/J7M6AUHDER/../../../../include/QtCrypto/qca_support.h:40,
from /cs/local/pkg/Qt/qca/build/src/qca-qt6_autogen/J7M6AUHDER/../../../../include/QtCrypto/qca_core.h:38,
from /cs/local/pkg/Qt/qca/build/src/qca-qt6_autogen/J7M6AUHDER/../../../../include/QtCrypto/qca_cert.h:36,
from /cs/local/pkg/Qt/qca/build/src/qca-qt6_autogen/J7M6AUHDER/moc_qca_cert.cpp:9,
from /cs/local/pkg/Qt/qca/build/src/qca-qt6_autogen/mocs_compilation.cpp:2:
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qmetatype.h: In function ‘bool operator==(const QMetaType&, const QMetaType&)’:
/cs/local/pkg/Qt/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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qvariant.h: In function ‘bool operator==(const QVariant&, const QVariant&)’:
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qvariant.h:620:5: error: static assertion failed: Use *_NON_NOEXCEPT version of the macro, or make the helper function noexcept
Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(QVariant)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qlocale.h: In function ‘bool operator==(const QLocale&, const QLocale::Language&)’:
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qlocale.h:1184:5: error: static assertion failed: Use *_NON_NOEXCEPT version of the macro, or make the helper function noexcept
Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(QLocale, Language)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qdatetime.h: In function ‘bool operator==(const QDateTime&, const QDateTime&)’:
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qdatetime.h:634:5: error: static assertion failed: Use *_NON_NOEXCEPT version of the macro, or make the helper function noexcept
Q_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT(QDateTime)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qdatetime.h: In function ‘bool operator<(const QDateTime&, const QDateTime&)’:
/cs/local/pkg/Qt/6.8.0/gcc_64/include/QtCore/qdatetime.h:634:5: error: static assertion failed: Use *_NON_NOEXCEPT version of the macro, or make the helper function noexcept
Q_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT(QDateTime)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/qca-qt6.dir/build.make:82: src/CMakeFiles/qca-qt6.dir/qca-qt6_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1342: src/CMakeFiles/qca-qt6.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
I’m running on Rocky Enterprise Linux 8.10.
Any thoughts on how to resolve this so I can complete my install of QCA?
Update: I tried now with Qt 6.7.3 release, and QCA compiled fine. It would be nice to be able to compile with the newer version of Qt though.
Jason.