Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29940

CMake project configuration fails by default for QTC V12.0.0

    XMLWordPrintable

Details

    • b298c981f (12.0)

    Description

      Tested QtforMCU's version: 2.5.2
      Host : Windows
      SHA1 : 65e6aaeba4a4eb68a4684c25754cb3b8c3a3950d

      How to reproduce:

      1. Open QTC - 12.0.0
      2. Create and run the default Qt for MCU’s project for desktop MSVC platform

      Configuring fails with the following output:

      Logging in and fetching licenses ...
      Qt for MCUs: Kit for Qt for MCUs 2.5 - Desktop 32bpp (MINGW) created.
      Qt for MCUs: Kit for Qt for MCUs 2.5 - Desktop 32bpp (MSVC) created.
      Checking for updated license succeeded (16 licenses fetched)
      [cmake] Running C:\Qt_252\Tools\CMake_64\bin\cmake.exe -S C:/Users/hp/Documents/Sample_project -B C:/Users/hp/Documents/build-Sample_project-Qt_for_MCUs_2_5_Desktop_32bpp_MSVC-Debug "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=C:\Users\hp\Documents\build-Sample_project-Qt_for_MCUs_2_5_Desktop_32bpp_MSVC-Debug/.qtc/package-manager/auto-setup.cmake" "-DCMAKE_CXX_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe" "-DCMAKE_C_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe" "-DQUL_COLOR_DEPTH:STRING=32" "-DQUL_COMPILER_NAME:STRING=msvc" "-DQUL_GENERATORS:STRING=C:/Qt_252/QtMCUs/2.5.2/lib/cmake/Qul/QulGenerators.cmake" "-DQUL_PLATFORM:STRING=qt" "-DQul_ROOT:STRING=C:\Qt_252\QtMCUs\2.5.2" in C:\Users\hp\Documents\build-Sample_project-Qt_for_MCUs_2_5_Desktop_32bpp_MSVC-Debug.
      [cmake] -- The C compiler identification is MSVC 19.29.30143.0
      [cmake] -- The CXX compiler identification is MSVC 19.29.30143.0
      [cmake] -- The ASM compiler identification is MSVC
      [cmake] -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
      [cmake] -- Detecting C compiler ABI info
      [cmake] -- Detecting C compiler ABI info - done
      [cmake] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe - skipped
      [cmake] -- Detecting C compile features
      [cmake] -- Detecting C compile features - done
      [cmake] -- Detecting CXX compiler ABI info
      [cmake] -- Detecting CXX compiler ABI info - done
      [cmake] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe - skipped
      [cmake] -- Detecting CXX compile features
      [cmake] -- Detecting CXX compile features - done
      [cmake] -- CMake version 3.27.7
      [cmake] -- IPO is disabled for desktop backends
      [cmake] -- Qul Platform Boards Directory: C:/Qt_252/QtMCUs/2.5.2/lib/cmake/Qul/../../../platform/boards
      [cmake] -- Qul Target Platform Directory: C:/Qt_252/QtMCUs/2.5.2/lib/cmake/Qul/../../../platform/boards/qt/qt
      [cmake] -- Loading board defaults from C:/Qt_252/QtMCUs/2.5.2/lib/cmake/Qul/../../../platform/boards/qt/qt/cmake/BoardDefaults_32bpp_default.qmlprojectconfig file
      [cmake] -- Qul Color Depth: 32
      [cmake] -- QUL_DEFAULT_RESOURCE_IMAGE_PIXEL_FORMAT: Automatic
      [cmake] -- QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_ALPHA: ARGB8888
      [cmake] -- QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_OPAQUE: XRGB8888
      [cmake] -- Using imported architecture configuration. Ignoring architecture.cmake file.
      [cmake] -- OS: baremetal
      [cmake] -- Found Qt6Bundle: C:/Qt_252/QtMCUs/2.5.2/lib  found components: Core Gui Widgets 
      [cmake] -- Translation tools from C:/Qt_252/QtMCUs/2.5.2/bin will be used
      [cmake] CMake Error at C:/Qt_252/QtMCUs/2.5.2/lib/cmake/Qul/QulMacros.cmake:591 (message):
      [cmake]   qmlprojectexporter failed while processing
      [cmake]   C:/Users/hp/Documents/Sample_project/qmlproject/Sample_project.qmlproject:
      [cmake]   1
      [cmake] 
      [cmake]   [qmlprojectexporter] error: Problem during load of
      [cmake]   qmlproject file
      [cmake] 
      [cmake]   [qmlprojectexporter]
      [cmake]   C:/Users/hp/Documents/Sample_project/qmlproject/Sample_project.qmlproject:8:26:
      [cmake]   error: idBasedTranslations property was not found!
      [cmake] 
      [cmake]       idBasedTranslations: true // Use qsTrId() instead of qsTr()
      [cmake]                            ^~~~
      [cmake] 
      [cmake] Call Stack (most recent call first):
      [cmake]   C:/Qt_252/QtMCUs/2.5.2/lib/cmake/Qul/QulMacros.cmake:2590 (qul_private_target_set_qmlproject)
      [cmake]   qmlproject/CMakeLists.txt:2 (qul_add_target)
      [cmake] 
      [cmake] 
      [cmake] -- Configuring incomplete, errors occurred!
      [cmake] 
      [cmake] CMake process exited with exit code 1.
      [cmake] 
      [cmake] Elapsed time: 00:05.
      

       

      Attachments

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

        Activity

          People

            sikrovel Sivert Krøvel
            saimanoj sai manoj
            Yoann Lopes Yoann Lopes
            Ilkka Kellokoski Ilkka Kellokoski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes