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

CMake: headersclean broken on dev

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.5.0 Beta1
    • 6.5.0 FF
    • Build System: CMake
    • None
    • 8155bd5426 (qt/qtbase/dev) 8155bd5426 (qt/tqtc-qtbase/dev)

    Description

      If you try to turn it on, you get:

      CMake Error at cmake/QtHeadersClean.cmake:249 (file):
        file RELATIVE_PATH must be passed a full path to the directory:
      Call Stack (most recent call first):
        cmake/QtModuleHelpers.cmake:927 (qt_internal_add_headersclean_target)
        cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
        src/corelib/CMakeLists.txt:DEFERRED
      

      Full cmake command-line:

          -GNinja \
          -DBUILD_TESTING=ON \
          -DBUILD_WITH_PCH=OFF \
          -DCMAKE_BUILD_TYPE=Custom \
          -DCMAKE_C_COMPILER=clang \
          -DCMAKE_C_COMPILER_LAUNCHER=ccache \
          -DCMAKE_C_FLAGS='-O3 -g0 -march=tigerlake -mprefer-vector-width=256 -maes' \
          -DCMAKE_CXX_COMPILER=clang++ \
          -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
          -DCMAKE_CXX_FLAGS='-O3 -g1 -march=tigerlake -mprefer-vector-width=256 -maes' \
          -DCMAKE_INSTALL_PREFIX=$PWD \
          -DCMAKE_SHARED_LINKER_FLAGS='-Wl,-O1 -Wl,--as-needed' \
          -DFEATURE_developer_build=ON \
          -DFEATURE_headersclean=ON \
          -DFEATURE_ipc_posix=ON \
          -DFEATURE_journald=ON \
          -DFEATURE_libproxy=ON \
          -DFEATURE_openssl_linked=ON \
          -DFEATURE_optimize_debug=OFF \
          -DFEATURE_reduce_relocations=ON \
          -DFEATURE_sctp=ON \
          -DFEATURE_system_sqlite=ON \
          -DQT_BUILD_TESTS_BY_DEFAULT=OFF \
          -DQT_LIBINFIX=.t \
          -DQT_QMAKE_TARGET_MKSPEC=linux-clang-optimised
      

      Attachments

        For Gerrit Dashboard: QTBUG-108617
        # Subject Branch Project Status CR V

        Activity

          People

            semlanik Alexey Edelev
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes