Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-110088

error: ‘qt_meta_data_TestClass’ was not declared in this scope

    XMLWordPrintable

Details

    • Linux/X11

    Description

      tests/auto/qml/qqmlpropertycache/CMakeFiles/tst_qqmlpropertycache.dir/tst_qqmlpropertycache.cpp.o -c /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp: In member function ‘void tst_qqmlpropertycache::metaObjectSize_data()’:
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:570:55: error: ‘qt_meta_data_TestClass’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   570 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_##Class) \
      agent:2023/01/12 06:39:01 build.go:403:       |                                                       ^~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:548:16: note: in definition of macro ‘ARRAY_SIZE’
      agent:2023/01/12 06:39:01 build.go:403:   548 |     int(sizeof(arr) / sizeof(arr[0]))
      agent:2023/01/12 06:39:01 build.go:403:       |                ^~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:581:5: note: in expansion of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   581 |     TEST_CLASS(TestClass);
      agent:2023/01/12 06:39:01 build.go:403:       |     ^~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: error: ‘qt_meta_stringdata_TestClass’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: note: in definition of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:570:55: error: ‘qt_meta_data_TestClassWithParameters’ was not declared in this scope; did you mean ‘qt_meta_data_CLASSTestClassWithParametersENDCLASS’?
      agent:2023/01/12 06:39:01 build.go:403:   570 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_##Class) \
      agent:2023/01/12 06:39:01 build.go:403:       |                                                       ^~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:548:16: note: in definition of macro ‘ARRAY_SIZE’
      agent:2023/01/12 06:39:01 build.go:403:   548 |     int(sizeof(arr) / sizeof(arr[0]))
      agent:2023/01/12 06:39:01 build.go:403:       |                ^~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:582:5: note: in expansion of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   582 |     TEST_CLASS(TestClassWithParameters);
      agent:2023/01/12 06:39:01 build.go:403:       |     ^~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: error: ‘qt_meta_stringdata_TestClassWithParameters’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: note: in definition of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:570:55: error: ‘qt_meta_data_TestClassWithClassInfo’ was not declared in this scope; did you mean ‘qt_meta_data_CLASSTestClassWithClassInfoENDCLASS’?
      agent:2023/01/12 06:39:01 build.go:403:   570 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_##Class) \
      agent:2023/01/12 06:39:01 build.go:403:       |                                                       ^~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:548:16: note: in definition of macro ‘ARRAY_SIZE’
      agent:2023/01/12 06:39:01 build.go:403:   548 |     int(sizeof(arr) / sizeof(arr[0]))
      agent:2023/01/12 06:39:01 build.go:403:       |                ^~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:583:5: note: in expansion of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   583 |     TEST_CLASS(TestClassWithClassInfo);
      agent:2023/01/12 06:39:01 build.go:403:       |     ^~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: error: ‘qt_meta_stringdata_TestClassWithClassInfo’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: note: in definition of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: Sccache command failed, re-try calling build tool directly
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp: In member function ‘void tst_qqmlpropertycache::metaObjectSize_data()’:
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:570:55: error: ‘qt_meta_data_TestClass’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   570 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_##Class) \
      agent:2023/01/12 06:39:01 build.go:403:       |                                                       ^~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:548:16: note: in definition of macro ‘ARRAY_SIZE’
      agent:2023/01/12 06:39:01 build.go:403:   548 |     int(sizeof(arr) / sizeof(arr[0]))
      agent:2023/01/12 06:39:01 build.go:403:       |                ^~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:581:5: note: in expansion of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   581 |     TEST_CLASS(TestClass);
      agent:2023/01/12 06:39:01 build.go:403:       |     ^~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: error: ‘qt_meta_stringdata_TestClass’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: note: in definition of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:570:55: error: ‘qt_meta_data_TestClassWithParameters’ was not declared in this scope; did you mean ‘qt_meta_data_CLASSTestClassWithParametersENDCLASS’?
      agent:2023/01/12 06:39:01 build.go:403:   570 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_##Class) \
      agent:2023/01/12 06:39:01 build.go:403:       |                                                       ^~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:548:16: note: in definition of macro ‘ARRAY_SIZE’
      agent:2023/01/12 06:39:01 build.go:403:   548 |     int(sizeof(arr) / sizeof(arr[0]))
      agent:2023/01/12 06:39:01 build.go:403:       |                ^~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:582:5: note: in expansion of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   582 |     TEST_CLASS(TestClassWithParameters);
      agent:2023/01/12 06:39:01 build.go:403:       |     ^~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: error: ‘qt_meta_stringdata_TestClassWithParameters’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: note: in definition of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:570:55: error: ‘qt_meta_data_TestClassWithClassInfo’ was not declared in this scope; did you mean ‘qt_meta_data_CLASSTestClassWithClassInfoENDCLASS’?
      agent:2023/01/12 06:39:01 build.go:403:   570 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_##Class) \
      agent:2023/01/12 06:39:01 build.go:403:       |                                                       ^~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:548:16: note: in definition of macro ‘ARRAY_SIZE’
      agent:2023/01/12 06:39:01 build.go:403:   548 |     int(sizeof(arr) / sizeof(arr[0]))
      agent:2023/01/12 06:39:01 build.go:403:       |                ^~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:583:5: note: in expansion of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   583 |     TEST_CLASS(TestClassWithClassInfo);
      agent:2023/01/12 06:39:01 build.go:403:       |     ^~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: error: ‘qt_meta_stringdata_TestClassWithClassInfo’ was not declared in this scope
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      agent:2023/01/12 06:39:01 build.go:403: /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:571:42: note: in definition of macro ‘TEST_CLASS’
      agent:2023/01/12 06:39:01 build.go:403:   571 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_##Class) / (sizeof(uint) * 2))
      agent:2023/01/12 06:39:01 build.go:403:       |                                          ^~~~~~~~~~~~~~~~~~~
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/c9d993bc07564b9b2d8ca37eb34da33c5c7f11ee/LinuxopenSUSE_15_4x86_64LinuxopenSUSE_15_4x86_64GCCqtci-linux-openSUSE-15.4-x86_64-50-c43211Sccache_UseConfigure_WarningsAreErrors/e4e144c0ff182ddf3d14d80cee7b3691dbde6278/build_1681390593/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1681390588

      Tested changes (refs/builds/qtci/6.5/1673504831):
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/453495/2 Update dependencies on '6.5' in qt/qtdeclarative

      Attachments

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

        Activity

          People

            axelspoerl Axel Spoerl
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d

                Gerrit Reviews

                  There are no open Gerrit changes