Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-14615

CMAKE export with Dusk demo fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • QDS 4.7.0
    • QDS 4.7.0
    • CMake exporter
    • None
    • macOS

    Description

      Steps to reproduce:
      1. Open Dusk demo from the repo with QD 4.7: https://git.qt.io/qt-demo-team/dusk_adas

      (if the HEAD is suspicions, use commit: 7ba92751e52264f7909f03a4f7e1a29c5eb56532

      2. Set CMake exporter active in Qt DS

      3. Modify qml file and save - to trigger update of CMakelfile

      4. Close Qt DS

      5. Open project with Creator, using Kit 6.8.0 or 6.8.1 on macOS

      6. Run cmake

      Expeted behavior: Everything OK
      Actual behavior: 

      [cmake] Running /Users/xx/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -S '/Users/xx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster' -B '/Users/xx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo' -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DCMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang '-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/Users/xx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo/.qtc/package-manager/auto-setup.cmake' -DQT_QMAKE_EXECUTABLE:FILEPATH=/Users/xxx/Qt/6.8.1/macos/bin/qmake -DCMAKE_CXX_FLAGS_INIT:STRING= -DCMAKE_PREFIX_PATH:PATH=/Users/xxx/Qt/6.8.1/macos in /Users/xxx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo.
      [cmake] CMake Warning at CMakeLists.txt:6 (project):
      [cmake]   the following parameters must be specified after LANGUAGES keyword: -,
      [cmake]   ADAS, clusterApp.
      [cmake] 
      [cmake] 
      [cmake] CMake Error: Could not find cmake module file: CMakeDetermine-Compiler.cmake
      [cmake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
      [cmake] Missing variable is:
      [cmake] CMAKE_-_COMPILER_ENV_VAR
      [cmake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
      [cmake] Missing variable is:
      [cmake] CMAKE_-_COMPILER
      [cmake] CMake Error: Could not find cmake module file: /Users/xxx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo/CMakeFiles/3.29.3/CMake-Compiler.cmake
      [cmake] CMake Error: Could not find cmake module file: CMakeDetermineADASCompiler.cmake
      [cmake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
      [cmake] Missing variable is:
      [cmake] CMAKE_ADAS_COMPILER_ENV_VAR
      [cmake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
      [cmake] Missing variable is:
      [cmake] CMAKE_ADAS_COMPILER
      [cmake] CMake Error: Could not find cmake module file: /Users/xxx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo/CMakeFiles/3.29.3/CMakeADASCompiler.cmake
      [cmake] CMake Error: Could not find cmake module file: CMakeDetermineclusterAppCompiler.cmake
      [cmake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
      [cmake] Missing variable is:
      [cmake] CMAKE_clusterApp_COMPILER_ENV_VAR
      [cmake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
      [cmake] Missing variable is:
      [cmake] CMAKE_clusterApp_COMPILER
      [cmake] CMake Error: Could not find cmake module file: /Users/xxx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo/CMakeFiles/3.29.3/CMakeclusterAppCompiler.cmake
      [cmake] – The CXX compiler identification is AppleClang 16.0.0.16000026
      [cmake] CMake Error at CMakeLists.txt:6 (project):
      [cmake]   No CMAKE_-_COMPILER could be found.
      [cmake] 
      [cmake]   Tell CMake where to find the compiler by setting the CMake cache entry
      [cmake]   CMAKE_-_COMPILER to the full path to the compiler, or to the compiler name
      [cmake]   if it is in the PATH.
      [cmake] 
      [cmake] 
      [cmake] CMake Error: Could not find cmake module file: CMake-Information.cmake
      [cmake] CMake Error at CMakeLists.txt:6 (project):
      [cmake]   No CMAKE_ADAS_COMPILER could be found.
      [cmake] 
      [cmake]   Tell CMake where to find the compiler by setting the CMake cache entry
      [cmake]   CMAKE_ADAS_COMPILER to the full path to the compiler, or to the compiler
      [cmake]   name if it is in the PATH.
      [cmake] 
      [cmake] 
      [cmake] CMake Error: Could not find cmake module file: CMakeADASInformation.cmake
      [cmake] CMake Error at CMakeLists.txt:6 (project):
      [cmake]   No CMAKE_clusterApp_COMPILER could be found.
      [cmake] 
      [cmake]   Tell CMake where to find the compiler by setting the CMake cache entry
      [cmake]   CMAKE_clusterApp_COMPILER to the full path to the compiler, or to the
      [cmake]   compiler name if it is in the PATH.
      [cmake] 
      [cmake] 
      [cmake] CMake Error: Could not find cmake module file: CMakeclusterAppInformation.cmake
      [cmake] – Detecting CXX compiler ABI info
      [cmake] – Detecting CXX compiler ABI info - done
      [cmake] – Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
      [cmake] – Detecting CXX compile features
      [cmake] – Detecting CXX compile features - done
      [cmake] CMake Error: CMAKE_-_COMPILER not set, after EnableLanguage
      [cmake] CMake Error: CMAKE_ADAS_COMPILER not set, after EnableLanguage
      [cmake] CMake Error: CMAKE_clusterApp_COMPILER not set, after EnableLanguage
      [cmake] – Configuring incomplete, errors occurred!
      [cmake] 
      [cmake] The command "/Users/xxx/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -S '/Users/xxx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster' -B '/Users/xxx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo' -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DCMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang '-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/Users/xxx/Local/Code/Demos/dusk_adas/Dusk - ADAS cluster/build/Qt_6_8_1_for_macOS-RelWithDebInfo/.qtc/package-manager/auto-setup.cmake' -DQT_QMAKE_EXECUTABLE:FILEPATH=/Users/xxx/Qt/6.8.1/macos/bin/qmake -DCMAKE_CXX_FLAGS_INIT:STRING= -DCMAKE_PREFIX_PATH:PATH=/Users/xxx/Qt/6.8.1/macos" terminated with exit code 1.
      [cmake] 
      [cmake] Elapsed time: 00:00.

      Attachments

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

        Activity

          People

            knud Knud Dollereder
            javihria Jarko Vihriä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