FAILED: src/webenginequick/CMakeFiles/WebEngineQuick.dir/webenginequick_qmltyperegistrations.cpp.o
/usr/bin/c++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WEBENGINEQUICK_LIB -DQT_BUILD_WEBENGINE_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NAMESPACE=Qt6TestNamepace -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_NO_QSNPRINTF=1 -DQT_NO_STD_FORMAT_SUPPORT -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER -DQT_WEBENGINECORE_LIB -DWebEngineQuick_EXPORTS -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/src/webenginequick/WebEngineQuick_autogen/include -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/include -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/include/QtWebEngineQuick -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/qtwebengine/src/webenginequick -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/src/webenginequick -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/qtwebengine/src/webenginequick/../core -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/qtwebengine/src/webenginequick/api -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/include/QtWebEngineQuick/6.10.0 -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/include/QtWebEngineQuick/6.10.0/QtWebEngineQuick -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/include/QtWebEngineCore -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/src/core/api -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/include/QtWebEngineCore/6.10.0 -I/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/include/QtWebEngineCore/6.10.0/QtWebEngineCore -isystem /opt/Qt/include/QtQml -isystem /opt/Qt/include -isystem /opt/Qt/include/QtCore -isystem /opt/Qt/mkspecs/linux-g++ -isystem /opt/Qt/include/QtQmlIntegration -isystem /opt/Qt/include/QtNetwork -isystem /opt/Qt/include/QtGui -isystem /opt/Qt/include/QtQuick -isystem /opt/Qt/include/QtQmlMeta -isystem /opt/Qt/include/QtQmlModels -isystem /opt/Qt/include/QtQmlWorkerScript -isystem /opt/Qt/include/QtOpenGL -isystem /opt/Qt/include/QtPositioning -isystem /opt/Qt/include/QtCore/6.10.0 -isystem /opt/Qt/include/QtCore/6.10.0/QtCore -isystem /opt/Qt/include/QtGui/6.10.0 -isystem /opt/Qt/include/QtGui/6.10.0/QtGui -isystem /usr/include/libxkbcommon -isystem /opt/Qt/include/QtQuick/6.10.0 -isystem /opt/Qt/include/QtQuick/6.10.0/QtQuick -isystem /opt/Qt/include/QtQmlModels/6.10.0 -isystem /opt/Qt/include/QtQmlModels/6.10.0/QtQmlModels -isystem /opt/Qt/include/QtQml/6.10.0 -isystem /opt/Qt/include/QtQml/6.10.0/QtQml -isystem /opt/Qt/include/QtQmlMeta/6.10.0 -isystem /opt/Qt/include/QtQmlMeta/6.10.0/QtQmlMeta -isystem /opt/Qt/include/QtQmlWorkerScript/6.10.0 -isystem /opt/Qt/include/QtQmlWorkerScript/6.10.0/QtQmlWorkerScript -g -DNDEBUG -O2 -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-expansion-to-defined -fPIC -U_FORTIFY_SOURCE -Wsuggest-override -fcf-protection=full -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fstack-protector-strong -fstack-clash-protection -fno-exceptions -MD -MT src/webenginequick/CMakeFiles/WebEngineQuick.dir/webenginequick_qmltyperegistrations.cpp.o -MF src/webenginequick/CMakeFiles/WebEngineQuick.dir/webenginequick_qmltyperegistrations.cpp.o.d -o src/webenginequick/CMakeFiles/WebEngineQuick.dir/webenginequick_qmltyperegistrations.cpp.o -c /home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/src/webenginequick/webenginequick_qmltyperegistrations.cpp
In file included from /home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/src/webenginequick/webenginequick_qmltyperegistrations.cpp:7:
/opt/Qt/include/QtQml/qqml.h: In instantiation of 'static void Qt6TestNamepace::QmlTypeAndRevisionsRegistration<T, Resolved, Extended, false, false, false, true>::registerTypeAndRevisions(const char*, int, Qt6TestNamepace::QList<int>*, const Qt6TestNamepace::QMetaObject*) [with T = Qt6TestNamepace::ForeignWebEngineDesktopMediaRequest; Resolved = Qt6TestNamepace::QWebEngineDesktopMediaRequest; Extended = void]':
/opt/Qt/include/QtQml/qqml.h:944:39: required from 'void Qt6TestNamepace::qmlRegisterTypesAndRevisions(const char*, int, QList<int>*) [with Args = {ForeignWebEngineDesktopMediaRequest}]'
937 | (QmlTypeAndRevisionsRegistration<
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
938 | T, typename QQmlPrivate::QmlResolved<T>::Type,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
939 | typename QQmlPrivate::QmlExtended<T>::Type,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
940 | QQmlPrivate::QmlSingleton<T>::Value,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
941 | QQmlPrivate::QmlInterface<T>::Value,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
942 | QQmlPrivate::QmlSequence<T>::Value,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
943 | QQmlPrivate::QmlUncreatable<T>::Value || QQmlPrivate::QmlAnonymous<T>::Value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
944 | ::registerTypeAndRevisions(uri, versionMajor, qmlTypeIds,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
945 | QQmlPrivate::QmlExtendedNamespace<T>::metaObject()), ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Qt/rpmbuild/BUILD/Qt-qt6-6.10.0-build/qt-everywhere-src-6.10.0/build.qtwebengine/src/webenginequick/webenginequick_qmltyperegistrations.cpp:76:70: required from here
76 | qmlRegisterTypesAndRevisions<ForeignWebEngineDesktopMediaRequest>("QtWebEngine", 6);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/opt/Qt/include/QtQml/qqml.h:864:17: error: static assertion failed
863 | static_assert(std::is_base_of_v<QObject, Resolved>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
864 | || (QQmlPrivate::QmlMetaType<Resolved>::hasAcceptableCtors()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
865 | && !QQmlTypeInfo<Resolved>::hasAttachedProperties));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Qt/include/QtQml/qqml.h:864:17: note: '(((bool)std::is_base_of_v<Qt6TestNamepace::QObject, Qt6TestNamepace::QWebEngineDesktopMediaRequest>) || (Qt6TestNamepace::QQmlPrivate::QmlMetaType<Qt6TestNamepace::QWebEngineDesktopMediaRequest>::hasAcceptableCtors() && true))' evaluates to false