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

error: expected initializer before ‘-’ token

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.7.0 FF
    • Tools: Designer
    • None

    Description

      In file included from /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:6:
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:8:31: error: expected initializer before ‘-’ token
          8 | QT_DECLARE_EXTERN_RESOURCE(S60-QVGA-Candybar);
            |                               ^
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp: In constructor ‘{anonymous}::resourceReferenceKeeper::resourceReferenceKeeper()’:
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:57: error: expected initializer before ‘-’ token
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
            |                                                         ^
      In file included from /home/qt/work/install/include/QtCore/qtsymbolmacros.h:13,
                       from /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:6:
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:37: error: ‘qInitResources_S60’ was not declared in this scope
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
            |                                     ^~~~~~~~~~~~~~~~
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:58: error: ‘QVGA’ was not declared in this scope
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
            |                                                          ^~~~
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:63: error: ‘Candybar_keep’ was not declared in this scope
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
            |                                                               ^~~~~~~~
      Sccache command failed, re-try calling build tool directly
      In file included from /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:6:
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:8:31: error: expected initializer before ‘-’ token
          8 | QT_DECLARE_EXTERN_RESOURCE(S60-QVGA-Candybar);
            |                               ^
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp: In constructor ‘{anonymous}::resourceReferenceKeeper::resourceReferenceKeeper()’:
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:57: error: expected initializer before ‘-’ token
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
            |                                                         ^
      In file included from /home/qt/work/install/include/QtCore/qtsymbolmacros.h:13,
                       from /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:6:
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:37: error: ‘qInitResources_S60’ was not declared in this scope
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
            |                                     ^~~~~~~~~~~~~~~~
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:58: error: ‘QVGA’ was not declared in this scope
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
            |                                                          ^~~~
      /home/qt/work/qt/qttools_build/src/designer/src/lib/.rcc/qrc_S60-QVGA-Candybar_init.cpp:12:63: error: ‘Candybar_keep’ was not declared in this scope
         12 |         resourceReferenceKeeper() { QT_KEEP_RESOURCE(S60-QVGA-Candybar); }
      

      Build log: https://testresults.qt.io/logs/qt/qttools/0c2dc0a3c5d525e95b99dbc724b28786c031471b/LinuxSLES_15_SP4x86_64LinuxSLES_15_SP4x86_64GCCqtci-linux-SLES-15_SP4-x86_64-50-f774a6DisableTests_DoNotCompileTestsDuringBuild_Sccache_UseConfigure/1377afb05a81297936019e3fb5320d39372676f3/build_1697053125/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qttools/tasks/1697053113

      Tested changes (refs/builds/qtci/dev/1691514680):
      https://codereview.qt-project.org/c/qt/qttools/+/495254/2 Update dependencies on 'dev' in qt/qttools

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes