XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 12.0.0-beta2
    • Building Qt Creator
    • None
    • Linux/X11

    Description

      Gentoo, gcc-13 compile problems axivion plugin.
      Fast solution - manually disable plugin.
      The same problem with Qt 6.6.0 and Qt 6.5.3

      FAILED: src/plugins/axivion/CMakeFiles/Axivion.dir/axivionplugin.cpp.o  
      /usr/lib/ccache/bin/c++ -DAXIVION_LIBRARY -DAxivion_EXPORTS -DQT_CONCURRENT_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_CREATOR -DQT_DISABLE_DEPRECATED_BEFORE=0x050900 -DQT_GUI_LIB -DQT_NETWORK_LI
      B -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DRELATIVE_DATA_PATH=\"../share/qtcreato
      r\" -DRELATIVE_DOC_PATH=\"../share/doc/qtcreator\" -DRELATIVE_LIBEXEC_PATH=\"../libexec/qtcreator\" -DRELATIVE_PLUGIN_PATH=\"../lib/qtcreator/plugins\" -I/opt/Qt/QtCreator_dev/src/plugins/axivion
      -I/home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion -I/opt/Qt/QtCreator_dev/src/plugins/axivion/Axivion_autogen/include -I/opt/Qt/QtCreator_dev/src -I/home/ovs/usr/soft/Qt/qt-creator/src/plugin
      s -I/home/ovs/usr/soft/Qt/qt-creator/src/libs -I/home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/mimetypes2 -I/home/ovs/usr/soft/Qt/qt-creator/src/libs/3rdparty/syntax-highlighting/src/lib -I/home/
      ovs/usr/soft/Qt/qt-creator/src/libs/3rdparty/syntax-highlighting/autogenerated/include -I/home/ovs/usr/soft/Qt/qt-creator/src/libs/3rdparty/syntax-highlighting/autogenerated/src/lib -I/home/ovs/us
      r/soft/Qt/qt-creator/src/libs/3rdparty -isystem /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork -isystem /opt/Qt/Qt6.6.0_Linux_x86_64/include -isystem /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore -i
      system /opt/Qt/Qt6.6.0_Linux_x86_64/mkspecs/linux-clang -isystem /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtWidgets -isystem /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtGui -isystem /opt/Qt/Qt6.6.0_Linux_x
      86_64/include/QtConcurrent -isystem /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore5Compat -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fPIC -Winvalid-p
      ch -include /opt/Qt/QtCreator_dev/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchGui.dir/cmake_pch.hxx -MD -MT src/plugins/axivion/CMakeFiles/Axivion.dir/axivionplugin.cpp.o -MF src/
      plugins/axivion/CMakeFiles/Axivion.dir/axivionplugin.cpp.o.d -o src/plugins/axivion/CMakeFiles/Axivion.dir/axivionplugin.cpp.o -c /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin
      .cpp
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp: In constructor 'Axivion::Internal::AxivionPluginPrivate::AxivionPluginPrivate()':
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:161:62: error: 'sslErrors' is not a member of 'QNetworkAccessManager'
       161 |     connect(&m_networkAccessManager, &QNetworkAccessManager::sslErrors,
           |                                                              ^~~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp: In member function 'void Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)':
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:167:28: error: incomplete type 'QSslError' used in nested name specifier
       167 |     const QList<QSslError::SslError> accepted{
           |                            ^~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:167:36: error: template argument 1 is invalid
       167 |     const QList<QSslError::SslError> accepted{
           |                                    ^
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:168:20: error: incomplete type 'QSslError' used in nested name specifier
       168 |         QSslError::CertificateNotYetValid, QSslError::CertificateExpired,
           |                    ^~~~~~~~~~~~~~~~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:168:55: error: incomplete type 'QSslError' used in nested name specifier
       168 |         QSslError::CertificateNotYetValid, QSslError::CertificateExpired,
           |                                                       ^~~~~~~~~~~~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:169:20: error: incomplete type 'QSslError' used in nested name specifier
       169 |         QSslError::InvalidCaCertificate, QSslError::CertificateUntrusted,
           |                    ^~~~~~~~~~~~~~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:169:53: error: incomplete type 'QSslError' used in nested name specifier
       169 |         QSslError::InvalidCaCertificate, QSslError::CertificateUntrusted,
           |                                                     ^~~~~~~~~~~~~~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:170:20: error: incomplete type 'QSslError' used in nested name specifier
       170 |         QSslError::HostNameMismatch
           |                    ^~~~~~~~~~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:167:38: error: scalar object 'accepted' requires one element in initializer
       167 |     const QList<QSslError::SslError> accepted

      {      |                                      ^~~~~~~~ /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp: In lambda function: /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:173:63: error: 'accepted' is not captured  173 |                      [&accepted](const QSslError &e) \{ return accepted.contains(e.error()); }

      ))

      {      |                                                               ^~~~~~~~ /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:173:32: note: the lambda has no capture-default  173 |                      [&accepted](const QSslError &e) \{ return accepted.contains(e.error()); }

      )) {
           |                                ^
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:167:38: note: '<typeprefixerror>accepted' declared here
       167 |     const QList<QSslError::SslError> accepted

      {      |                                      ^~~~~~~~ /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:173:81: error: invalid use of incomplete type 'const class QSslError'  173 |                      [&accepted](const QSslError &e) \{ return accepted.contains(e.error()); }

      )) {
           |                                                                                 ^
      In file included from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/QNetworkAccessManager:1,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/networkaccessmanager.h:8,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/dashboard/dashboardclient.h:13,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.h:6,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:4:
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkaccessmanager.h:29:7: note: forward declaration of 'class QSslError'
        29 | class QSslError;
           |       ^~~~~~~~~
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp: In member function 'void Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)':
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:175:35: error: no matching function for call to 'QNetworkReply::ignoreSslErrors(const QList<QSslError>&)'
       175 |             reply->ignoreSslErrors(errors);
           |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
      In file included from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/QNetworkReply:1,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/dashboard/dashboardclient.h:16:
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkreply.h:118:18: note: candidate: 'virtual void QNetworkReply::ignoreSslErrors()'
       118 |     virtual void ignoreSslErrors();
           |                  ^~~~~~~~~~~~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkreply.h:118:18: note:   candidate expects 0 arguments, 1 provided
      In file included from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qglobal.h:13,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/QtGlobal:1,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/shared/qtcreator_pch.h:15,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/shared/qtcreator_gui_pch.h:11,
                      from /opt/Qt/QtCreator_dev/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchGui.dir/cmake_pch.hxx:5,
                      from <command-line>:
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits: In instantiation of 'constexpr const bool std::is_trivial_v<QSslError>':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:51:27:   required from 'class QTypeInfo<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:893:23:   required by substitution of 'template<class T> struct QtPrivate::QArrayOpsSelector<T, typename std::enable_if<(QTypeInfo<T>::i
      sComplex && QTypeInfo<T>::isRelocatable)>::type> [with T = QSslError]'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:3223:40: error: invalid use of incomplete type 'class QSslError' [-fpermissive]
      3223 |   inline constexpr bool is_trivial_v = __is_trivial(_Tp);
           |                                        ^~~~~~~~~~~~~~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkaccessmanager.h:29:7: note: forward declaration of 'class QSslError'
        29 | class QSslError;
           |       ^~~~~~~~~
      In file included from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qglobal.h:47:
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h: In instantiation of 'class QTypeInfo<QSslError>':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:893:23:   required by substitution of 'template<class T> struct QtPrivate::QArrayOpsSelector<T, typename std::enable_if<(QTypeInfo<T>::i
      sComplex && QTypeInfo<T>::isRelocatable)>::type> [with T = QSslError]'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:48:10: error: enumerator value for 'isComplex' is not an integer constant
        48 |     enum {
           |          ^
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits: In instantiation of 'constexpr const bool std::is_trivially_copyable_v<QSslError>':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:26:46:   required from 'constexpr const bool QtPrivate::qIsRelocatable<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:52:36:   required from 'class QTypeInfo<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:893:23:   required by substitution of 'template<class T> struct QtPrivate::QArrayOpsSelector<T, typename std::enable_if<(QTypeInfo<T>::i
      sComplex && QTypeInfo<T>::isRelocatable)>::type> [with T = QSslError]'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:3225:51: error: invalid use of incomplete type 'class QSslError' [-fpermissive]
      3225 |   inline constexpr bool is_trivially_copyable_v = __is_trivially_copyable(_Tp);
           |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkaccessmanager.h:29:7: note: forward declaration of 'class QSslError'
        29 | class QSslError;
           |       ^~~~~~~~~
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits: In instantiation of 'struct std::is_trivially_destructible<QSslError>':
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:3297:37:   required from 'constexpr const bool std::is_trivially_destructible_v<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:26:81:   required from 'constexpr const bool QtPrivate::qIsRelocatable<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:52:36:   required from 'class QTypeInfo<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:893:23:   required by substitution of 'template<class T> struct QtPrivate::QArrayOpsSelector<T, typename std::enable_if<(QTypeInfo<T>::i
      sComplex && QTypeInfo<T>::isRelocatable)>::type> [with T = QSslError]'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:1326:37: error: invalid use of incomplete type 'class QSslError' [-fpermissive]
      1326 |                     _bool_constant<_has_trivial_destructor(_Tp)>>::type
           |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkaccessmanager.h:29:7: note: forward declaration of 'class QSslError'
        29 | class QSslError;
           |       ^~~~~~~~~
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:1328:52: error: static assertion failed: template argument must be a complete class or an unbounded array
      1328 |       static_assert(std::_is_complete_or_unbounded(_type_identity<_Tp>{}),
           |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:1328:52: note: 'std::_is_complete_or_unbounded<type_identity<QSslError> >((std::type_identity<QSslError>(), std::_type_identit
      y<QSslError>()))' evaluates to false
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits: In instantiation of 'constexpr const bool std::is_trivially_destructible_v<QSslError>':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:26:81:   required from 'constexpr const bool QtPrivate::qIsRelocatable<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:52:36:   required from 'class QTypeInfo<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:893:23:   required by substitution of 'template<class T> struct QtPrivate::QArrayOpsSelector<T, typename std::enable_if<(QTypeInfo<T>::i
      sComplex && QTypeInfo<T>::isRelocatable)>::type> [with T = QSslError]'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:3297:37: error: 'value' is not a member of 'std::is_trivially_destructible<QSslError>'
      3297 |     is_trivially_destructible<_Tp>::value;
           |                                     ^~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h: In instantiation of 'class QTypeInfo<QSslError>':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:893:23:   required by substitution of 'template<class T> struct QtPrivate::QArrayOpsSelector<T, typename std::enable_if<(QTypeInfo<T>::i
      sComplex && QTypeInfo<T>::isRelocatable)>::type> [with T = QSslError]'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qtypeinfo.h:48:10: error: enumerator value for 'isRelocatable' is not an integer constant
        48 |     enum {
           |          ^
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits: In instantiation of 'struct std::is_nothrow_destructible<QSslError>':
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:3324:35:   required from 'constexpr const bool std::is_nothrow_destructible_v<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:307:25:   required from 'struct QtPrivate::QGenericArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:680:8:   required from 'struct QtPrivate::QMovableArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:1033:52: error: static assertion failed: template argument must be a complete class or an unbounded array
      1033 |       static_assert(std::_is_complete_or_unbounded(_type_identity<_Tp>{}),
           |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:1033:52: note: 'std::_is_complete_or_unbounded<type_identity<QSslError> >((std::type_identity<QSslError>(), std::_type_identit
      y<QSslError>()))' evaluates to false
      In file included from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydatapointer.h:7,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qbytearray.h:11,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qstringview.h:8,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qchar.h:656,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qstring.h:14,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qcoreapplication.h:8,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/QCoreApplication:1,
                      from /home/ovs/usr/soft/Qt/qt-creator/src/shared/qtcreator_pch.h:44:
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h: In instantiation of 'struct QtPrivate::QGenericArrayOps<QSslError>':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:680:8:   required from 'struct QtPrivate::QMovableArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:307:25: error: static assertion failed: Types with throwing destructors are not supported in Qt containers.
       307 |     static_assert (std::is_nothrow_destructible_v<T>, "Types with throwing destructors are not supported in Qt containers.");
           |                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:307:25: note: 'std::is_nothrow_destructible_v<QSslError>' evaluates to false
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h: In instantiation of 'struct QtPrivate::QMovableArrayOps<QSslError>':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:900:8:   required from 'struct QtPrivate::QCommonArrayOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:968:8:   required from 'struct QArrayDataOps<QSslError>'
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:611:70:   required from 'QList<T>::const_iterator QList<T>::begin() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:64:26:   required from 'constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = QList<QSslError
      >; decltype (__cont.begin()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:34:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:683:25: error: static assertion failed: Types with throwing destructors are not supported in Qt containers.
       683 |     static_assert (std::is_nothrow_destructible_v<T>, "Types with throwing destructors are not supported in Qt containers.");
           |                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydataops.h:683:25: note: 'std::is_nothrow_destructible_v<QSslError>' evaluates to false
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydatapointer.h: In instantiation of 'const T* QArrayDataPointer<T>::constEnd() const [with T = QSslError]':
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:612:76:   required from 'QList<T>::const_iterator QList<T>::end() const [with T = QSslError]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:86:24:   required from 'constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = QList<QSslError>; d
      ecltype (__cont.end()) = QList<QSslError>::const_iterator]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:55:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qarraydatapointer.h:121:56: error: invalid use of incomplete type 'class QSslError'
       121 |     const T *constEnd() const noexcept { return data() + size; }
           |                                                 ~~~~~~^~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkaccessmanager.h:29:7: note: forward declaration of 'class QSslError'
        29 | class QSslError;
           |       ^~~~~~~~~
      In file included from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qobject.h:13,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qeventloop.h:7,
                      from /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qcoreapplication.h:11:
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h: In instantiation of 'qsizetype QList<T>::const_iterator::operator-(QList<T>::const_iterator) const [with T = QSslError; qsizetype = long long i
      nt]':
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:2068:25:   required from 'RandomAccessIterator std::_find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, ran
      dom_access_iterator_tag) [with RandomAccessIterator = QList<QSslError>::const_iterator; _Predicate = __gnu_cxx::_ops::_Iter_negate<Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetwo
      rkReply*, const QList<QSslError>&)::<lambda(const QSslError&)> >]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:112:28:   required from 'InputIterator std::_find_if_not(_InputIterator, _InputIterator, _Predicate) [with _InputIterator = QL
      ist<QSslError>::const_iterator; Predicate = __gnu_cxx::_ops::_Iter_pred<Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError
      &)> >]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:519:32:   required from '_IIter std::find_if_not(_IIter, _IIter, _Predicate) [with _IIter = QList<QSslError>::const_iterator; _P
      redicate = Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:459:40:   required from 'bool std::all_of(_IIter, _IIter, _Predicate) [with _IIter = QList<QSslError>::const_iterator; _Predicat
      e = Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:23:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:225:71: error: invalid use of incomplete type 'const class QSslError'
       225 |         inline qsizetype operator-(const_iterator j) const { return i - j.i; }
           |                                                                     ~^~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtNetwork/qnetworkaccessmanager.h:29:7: note: forward declaration of 'class QSslError'
        29 | class QSslError;
           |       ^~~~~~~~~
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h: In instantiation of 'QList<T>::const_iterator& QList<T>::const_iterator::operator++() [with T = QSslError]':
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:2074:4:   required from 'RandomAccessIterator std::_find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, rand
      om_access_iterator_tag) [with RandomAccessIterator = QList<QSslError>::const_iterator; _Predicate = __gnu_cxx::_ops::_Iter_negate<Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetwor
      kReply*, const QList<QSslError>&)::<lambda(const QSslError&)> >]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:112:28:   required from 'InputIterator std::_find_if_not(_InputIterator, _InputIterator, _Predicate) [with _InputIterator = QL
      ist<QSslError>::const_iterator; Predicate = __gnu_cxx::_ops::_Iter_pred<Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError
      &)> >]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:519:32:   required from '_IIter std::find_if_not(_IIter, _IIter, _Predicate) [with _IIter = QList<QSslError>::const_iterator; _P
      redicate = Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:459:40:   required from 'bool std::all_of(_IIter, _IIter, _Predicate) [with _IIter = QList<QSslError>::const_iterator; _Predicat
      e = Axivion::Internal::AxivionPluginPrivate::handleSslErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/libs/utils/algorithm.h:391:23:   required from 'bool Utils::allOf(const T&, F) [with T = QList<QSslError>; F = Axivion::Internal::AxivionPluginPrivate::handleS
      slErrors(QNetworkReply*, const QList<QSslError>&)::<lambda(const QSslError&)>]'
      /home/ovs/usr/soft/Qt/qt-creator/src/plugins/axivion/axivionplugin.cpp:172:21:   required from here
      /opt/Qt/Qt6.6.0_Linux_x86_64/include/QtCore/qlist.h:221:49: error: cannot increment a pointer to incomplete type 'const QSslError'
       221 |         inline const_iterator &operator++() { ++i; return *this; }
           |                                                 ^
      ninja: build stopped: subcommand failed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            kalpaspirit Oleg Shalnev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes