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

Ninja multi config expects two (or more?) options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 6.0.0 RC
    • Build System: CMake

    Description

      Configure fails if only one configuration added with Ninja multi config:
      -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="RelWithDebInfo"

      Configuring 'qtbase'
      -- Building for multiple configurations: RelWithDebInfo.
      -- Main configuration is: RelWithDebInfo.
      CMake Error at qtbase/cmake/QtBaseConfigureTests.cmake:40 (message):
        Failed to find compiled architecture detection executable at
        C:/Users/qt/RTA/src-6.0.0/qtbase/config.tests/arch/RelWithDebInfo/architecture_test.exe.
      Call Stack (most recent call first):
        qtbase/cmake/QtBaseConfigureTests.cmake:119 (qt_run_config_test_architecture)
        qtbase/cmake/QtBaseConfigureTests.cmake:132 (qt_run_qtbase_config_tests)
        qtbase/CMakeLists.txt:66 (include)
      -- Configuring incomplete, errors occurred!
      

      Tested with Qt6.0.0 RC1, MSVC2019 x64 on Windows10 x64.
      Works fine with:
      -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes