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

Help_autogen/include/qhelpsearchengine.moc:37:69: error: use of undeclared identifier 'QtMocHelpers'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.5.0 FF
    • Tools: Assistant
    • None

    Description

      agent:2022/08/12 18:49:36 build.go:394: In file included from /Users/qt/work/qt/qttools/src/assistant/help/qhelpsearchengine.cpp:236:
      agent:2022/08/12 18:49:36 build.go:394: /Users/qt/work/qt/qttools_build/src/assistant/help/Help_autogen/include/qhelpsearchengine.moc:37:69: error: use of undeclared identifier 'QtMocHelpers'; did you mean '::TestNamespace::TestNamespace::QtMocHelpers'?
      agent:2022/08/12 18:49:36 build.go:394: static constexpr auto qt_meta_stringdata_QHelpSearchEnginePrivate = QtMocHelpers::stringData(
      agent:2022/08/12 18:49:36 build.go:394:                                                                     ^~~~~~~~~~~~
      agent:2022/08/12 18:49:36 build.go:394:                                                                     ::TestNamespace::TestNamespace::QtMocHelpers
      agent:2022/08/12 18:49:36 build.go:394: /Users/qt/work/install/include/QtCore/qtmochelpers.h:25:11: note: '::TestNamespace::TestNamespace::QtMocHelpers' declared here
      agent:2022/08/12 18:49:36 build.go:394: namespace QtMocHelpers {
      agent:2022/08/12 18:49:36 build.go:394:           ^
      agent:2022/08/12 18:49:36 build.go:394: 1 error generated.
      agent:2022/08/12 18:49:36 build.go:394: Sccache command failed, re-try calling build tool directly
      agent:2022/08/12 18:49:36 build.go:394: In file included from /Users/qt/work/qt/qttools/src/assistant/help/qhelpsearchengine.cpp:236:
      agent:2022/08/12 18:49:36 build.go:394: /Users/qt/work/qt/qttools_build/src/assistant/help/Help_autogen/include/qhelpsearchengine.moc:37:69: error: use of undeclared identifier 'QtMocHelpers'; did you mean '::TestNamespace::TestNamespace::QtMocHelpers'?
      agent:2022/08/12 18:49:36 build.go:394: static constexpr auto qt_meta_stringdata_QHelpSearchEnginePrivate = QtMocHelpers::stringData(
      agent:2022/08/12 18:49:36 build.go:394:                                                                     ^~~~~~~~~~~~
      agent:2022/08/12 18:49:36 build.go:394:                                                                     ::TestNamespace::TestNamespace::QtMocHelpers
      agent:2022/08/12 18:49:36 build.go:394: /Users/qt/work/install/include/QtCore/qtmochelpers.h:25:11: note: '::TestNamespace::TestNamespace::QtMocHelpers' declared here
      agent:2022/08/12 18:49:36 build.go:394: namespace QtMocHelpers {
      agent:2022/08/12 18:49:36 build.go:394:           ^
      agent:2022/08/12 18:49:36 build.go:394: 1 error generated.
      

      Build log: https://testresults.qt.io/logs/qt/qttools/d5e7a959908c438793855e03bc5cea2eda1b5970/MacOSMacOS_12x86_64MacOSMacOS_12x86_64Clangqtci-macos-12-x86_64-102-a8d45fSccache_UseConfigure_WarningsAreErrors/b36441a45fd952cf7404e9b9640582400b65e0bc/build_1660329258/log.txt.gz

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

      Tested changes (refs/builds/qtci/dev/1660329216):
      https://codereview.qt-project.org/c/qt/qttools/+/426498/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

            jkobus Jarek Kobus
            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