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

tst_qqmlpropertycache.cpp:586:55: error: ‘qt_meta_data_CLASSTestClassENDCLASS’ was not declared in this scope

    XMLWordPrintable

Details

    • Linux/X11

    Description

      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp: In member function ‘void tst_qqmlpropertycache::metaObjectSize_data()’:
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:586:55: error: ‘qt_meta_data_CLASSTestClassENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_data_ZN9TestClassE’?
        586 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_CLASS##Class##ENDCLASS) \
            |                                                       ^~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:564:16: note: in definition of macro ‘ARRAY_SIZE’
        564 |     int(sizeof(arr) / sizeof(arr[0]))
            |                ^~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:597:5: note: in expansion of macro ‘TEST_CLASS’
        597 |     TEST_CLASS(TestClass);
            |     ^~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: error: ‘qt_meta_stringdata_CLASSTestClassENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_stringdata_ZN9TestClassE’?
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: note: in definition of macro ‘TEST_CLASS’
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:586:55: error: ‘qt_meta_data_CLASSTestClassWithParametersENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_data_ZN23TestClassWithParametersE’?
        586 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_CLASS##Class##ENDCLASS) \
            |                                                       ^~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:564:16: note: in definition of macro ‘ARRAY_SIZE’
        564 |     int(sizeof(arr) / sizeof(arr[0]))
            |                ^~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:598:5: note: in expansion of macro ‘TEST_CLASS’
        598 |     TEST_CLASS(TestClassWithParameters);
            |     ^~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: error: ‘qt_meta_stringdata_CLASSTestClassWithParametersENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_stringdata_ZN23TestClassWithParametersE’?
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: note: in definition of macro ‘TEST_CLASS’
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:586:55: error: ‘qt_meta_data_CLASSTestClassWithClassInfoENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_data_ZN22TestClassWithClassInfoE’?
        586 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_CLASS##Class##ENDCLASS) \
            |                                                       ^~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:564:16: note: in definition of macro ‘ARRAY_SIZE’
        564 |     int(sizeof(arr) / sizeof(arr[0]))
            |                ^~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:599:5: note: in expansion of macro ‘TEST_CLASS’
        599 |     TEST_CLASS(TestClassWithClassInfo);
            |     ^~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: error: ‘qt_meta_stringdata_CLASSTestClassWithClassInfoENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_stringdata_ZN22TestClassWithClassInfoE’?
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: note: in definition of macro ‘TEST_CLASS’
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      Sccache command failed, re-try calling build tool directly
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp: In member function ‘void tst_qqmlpropertycache::metaObjectSize_data()’:
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:586:55: error: ‘qt_meta_data_CLASSTestClassENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_data_ZN9TestClassE’?
        586 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_CLASS##Class##ENDCLASS) \
            |                                                       ^~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:564:16: note: in definition of macro ‘ARRAY_SIZE’
        564 |     int(sizeof(arr) / sizeof(arr[0]))
            |                ^~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:597:5: note: in expansion of macro ‘TEST_CLASS’
        597 |     TEST_CLASS(TestClass);
            |     ^~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: error: ‘qt_meta_stringdata_CLASSTestClassENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_stringdata_ZN9TestClassE’?
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: note: in definition of macro ‘TEST_CLASS’
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:586:55: error: ‘qt_meta_data_CLASSTestClassWithParametersENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_data_ZN23TestClassWithParametersE’?
        586 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_CLASS##Class##ENDCLASS) \
            |                                                       ^~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:564:16: note: in definition of macro ‘ARRAY_SIZE’
        564 |     int(sizeof(arr) / sizeof(arr[0]))
            |                ^~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:598:5: note: in expansion of macro ‘TEST_CLASS’
        598 |     TEST_CLASS(TestClassWithParameters);
            |     ^~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: error: ‘qt_meta_stringdata_CLASSTestClassWithParametersENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_stringdata_ZN23TestClassWithParametersE’?
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: note: in definition of macro ‘TEST_CLASS’
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:586:55: error: ‘qt_meta_data_CLASSTestClassWithClassInfoENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_data_ZN22TestClassWithClassInfoE’?
        586 |             << &Class::staticMetaObject << ARRAY_SIZE(qt_meta_data_CLASS##Class##ENDCLASS) \
            |                                                       ^~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:564:16: note: in definition of macro ‘ARRAY_SIZE’
        564 |     int(sizeof(arr) / sizeof(arr[0]))
            |                ^~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:599:5: note: in expansion of macro ‘TEST_CLASS’
        599 |     TEST_CLASS(TestClassWithClassInfo);
            |     ^~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: error: ‘qt_meta_stringdata_CLASSTestClassWithClassInfoENDCLASS’ was not declared in this scope; did you mean ‘qt_meta_stringdata_ZN22TestClassWithClassInfoE’?
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
            |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp:587:42: note: in definition of macro ‘TEST_CLASS’
        587 |             << int(sizeofOffsetsAndSizes(qt_meta_stringdata_CLASS##Class##ENDCLASS) / (sizeof(uint) * 2))
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/b5d8f7232a287536ffd7fcd2a0d0c617c5929a47/LinuxopenSUSE_15_5x86_64LinuxopenSUSE_15_5x86_64GCCqtci-linux-openSUSE-15.5-x86_64-52-aecef1Sccache_UseConfigure_WarningsAreErrors/d753cd98f84e5ef162a10fca4f503b2973f9d4fa/build_1727256406/log.txt.gz

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

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

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes