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

"#pragma once" is not allowed in installed header files:

    XMLWordPrintable

Details

    • eaf92a798 (dev), 17c2db954 (6.7)

    Description

      CMake Error at /Users/qt/work/install/lib/cmake/Qt6/QtSyncQtHelpers.cmake:282 (message):
      syncqt.cpp failed for module QtAppManCommon:
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/architecture.h:4
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/colorprint.h:4
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/configcache.h:5
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/configcache_p.h:5
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/console.h:4
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/crashhandler.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/dbus-utilities.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/error.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/exception.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/filesystemmountwatcher.h:4
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/global.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/logging.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/processtitle.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/qml-utilities.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/qtyaml.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR:
      /Users/qt/work/qt/qtapplicationmanager/src/common-lib/unixsignalhandler.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      ERROR: /Users/qt/work/qt/qtapplicationmanager/src/common-lib/utilities.h:6
      "#pragma once" is not allowed in installed header files:
      https://lists.qt-project.org/pipermail/development/2022-October/043121.html
      Call Stack (most recent call first):
      /Users/qt/work/install/lib/cmake/Qt6/QtModuleHelpers.cmake:938 (qt_internal_target_sync_headers)
      /Users/qt/work/install/lib/cmake/Qt6/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
      src/common-lib/CMakeLists.txt:DEFERRED
      -- Configuring incomplete, errors occurred!
      See also "/Users/qt/work/qt/qtapplicationmanager_build/CMakeFiles/CMakeOutput.log".
      See also "/Users/qt/work/qt/qtapplicationmanager_build/CMakeFiles/CMakeError.log".
      CMake Error at /Users/qt/work/install/lib/cmake/Qt6/QtProcessConfigureArgs.cmake:1089 (message):
      CMake exited with code 1.
      Process finished with error: exit status 1
      

      Build log: https://testresults.qt.io/logs/qt/qtapplicationmanager/31eef4e233ed6acadfdea3e49086b1e779d37074/MacOSMacOS_13arm64MacOSMacOS_13arm64Clangqtci-macos-13-arm64UseConfigure_WarningsAreErrors/bd69dac177bd5ed86fa8b8444648ef5c5a326905/build_1709400016/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtapplicationmanager/tasks/1709399920

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

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            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