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

"set_property can not be used on an ALIAS target" when building qttools dev

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 6.2.0 Alpha
    • 6.2
    • Build System: CMake
    • None
    • Ubuntu 20.04.2
    • 8194f790533fbd2c499feb1187774caab7eceb47 (qt/tqtc-qtbase/6.2)

    Description

      I get this when building a per-repo build of Qt:

      CMake Error at /home/mitch/dev/qt-dev2-debug/qtbase/lib/cmake/Qt6CoreTools/Qt6CoreToolsAdditionalTargetInfo.cmake:81 (set_property):
        set_property can not be used on an ALIAS target.
      Call Stack (most recent call first):
        /home/mitch/dev/qt-dev2-debug/qtbase/lib/cmake/Qt6CoreTools/Qt6CoreToolsConfig.cmake:38 (include)
        /home/mitch/dev/qt-dev2-debug/qtbase/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:66 (find_package)
        /home/mitch/dev/qt-dev2-debug/qtbase/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:41 (include)
        /home/mitch/dev/qt-dev2-debug/qtbase/lib/cmake/Qt6/Qt6Config.cmake:94 (find_package)
        tests/auto/qdoc/generatedoutput/CMakeLists.txt:17 (find_package)
      

      cmake is version 3.19.2, built from source.

      Qt is configured with these arguments:

      -DCMAKE_BUILD_TYPE=Debug -DFEATURE_developer_build=ON -DQT_BUILD_TESTS=ON -DQT_BUILD_TESTS_BY_DEFAULT=OFF -DQT_BUILD_EXAMPLES=ON -DQT_BUILD_EXAMPLES_BY_DEFAULT=OFF -DECM_ENABLE_SANITIZERS=address
      

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes