Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
6.9.0 FF
-
None
-
-
9154ecf9e (dev)
Description
/Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:596:5: error: no template named 'qt_call_create_metaobjectdata' in the global namespace; did you mean 'qt_create_metaobjectdata'? TEST_CLASS(TestClass, 9); ^~~~~~~~~~~~~~~~~~~~~~~~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:48: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:596:5: error: no template named 'qt_create_metaobjectdata' in the global namespace; did you mean simply 'qt_create_metaobjectdata'? TEST_CLASS(TestClass, 9); ^~~~~~~~~~~~~~~~~~~~~~~~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:48: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:596:5: error: function 'qt_create_metaobjectdata<(anonymous namespace)::qt_meta_tag_ZN9TestClassE_t>' with deduced return type cannot be used before it is defined TEST_CLASS(TestClass, 9); ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:50: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata<(anonymous namespace)::qt_meta_tag_ZN9TestClassE_t>' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:597:5: error: no template named 'qt_call_create_metaobjectdata' in the global namespace; did you mean 'qt_create_metaobjectdata'? TEST_CLASS(TestClassWithParameters, 23); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:48: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:597:5: error: no template named 'qt_create_metaobjectdata' in the global namespace; did you mean simply 'qt_create_metaobjectdata'? TEST_CLASS(TestClassWithParameters, 23); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:48: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:597:5: error: function 'qt_create_metaobjectdata<(anonymous namespace)::qt_meta_tag_ZN23TestClassWithParametersE_t>' with deduced return type cannot be used before it is defined TEST_CLASS(TestClassWithParameters, 23); ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:50: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata<(anonymous namespace)::qt_meta_tag_ZN23TestClassWithParametersE_t>' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:598:5: error: no template named 'qt_call_create_metaobjectdata' in the global namespace; did you mean 'qt_create_metaobjectdata'? TEST_CLASS(TestClassWithClassInfo, 22); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:48: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:598:5: error: no template named 'qt_create_metaobjectdata' in the global namespace; did you mean simply 'qt_create_metaobjectdata'? TEST_CLASS(TestClassWithClassInfo, 22); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:48: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^~ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:598:5: error: function 'qt_create_metaobjectdata<(anonymous namespace)::qt_meta_tag_ZN22TestClassWithClassInfoE_t>' with deduced return type cannot be used before it is defined TEST_CLASS(TestClassWithClassInfo, 22); ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:585:50: note: expanded from macro 'TEST_CLASS' << &Class::staticMetaObject << int(::qt_call_create_metaobjectdata<qt_meta_tag_ZN##ScopeCounter##Class##E_t>().data.size()) \ ^ /Users/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:17:5: note: 'qt_create_metaobjectdata<(anonymous namespace)::qt_meta_tag_ZN22TestClassWithClassInfoE_t>' declared here Q_OBJECT ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:145:5: note: expanded from macro 'Q_OBJECT' QT_OBJECT_GADGET_COMMON \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:130:5: note: expanded from macro 'QT_OBJECT_GADGET_COMMON' QT_META_OBJECT_VARS \ ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qtmetamacros.h:121:47: note: expanded from macro 'QT_META_OBJECT_VARS' template <typename> static constexpr auto qt_create_metaobjectdata(); \ ^ 9 errors generated.
Details: https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1731997657
Tested changes (refs/builds/qtci/dev/1731997654):
https://codereview.qt-project.org/c/qt/qtdeclarative/+/603020/1 QtQml: Adjust to changed metatype flags calculation
https://codereview.qt-project.org/c/qt/qtdeclarative/+/605063/2 Update dependencies on 'dev' in qt/qtdeclarative
Attachments
For Gerrit Dashboard: QTBUG-131359 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
605113,1 | Temporarily fix build of tst_qqmlpropertycache | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |