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

CMake error when creating a project that uses Design Studio in v6.5 or 6.4

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 11.0.3
    • Quick Designer
    • Windows

    Description

      Steps to reproduce:
      Click New project -> Application (Qt) -> Qt  Quick Application -> when it asks you to "Define Project Details" check the "Creates a project that you can open in Qt Design Studio" and change it to use Qt 6.5 or Qt 6.4 and create

      EXPECTED: The project opens and works

      ACTUAL: You get this error:

      • C:\Qt\6.5.2\android_arm64_v8a\lib\cmake\Qt6BuildInternals\QtBuildInternalsExtra.cmake:45: error: Syntax error in cmake code at C:/Qt/6.5.2/android_arm64_v8a/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake:45 when parsing string C:\Qt Invalid character escape '\Q'. C:/Qt/6.5.2/android_arm64_v8a/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:54 (include) C:/Qt/6.5.2/android_arm64_v8a/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package) C:/Users/tekopone/Repos/Thesis/motiq_app/Build/build-untitled-Android_Qt_6_5_2_Clang_arm64_v8a-Debug/_deps/ds-src/CMakeLists.txt:25 (find_package)

       

      Works after you change the CMakeLists.txt find_package version line:

      from:  find_package(Qt6 6.2 REQUIRED COMPONENTS Core Gui Qml Quick)

      to:      find_package(Qt6 6.5 REQUIRED COMPONENTS Core Gui Qml Quick)

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            teko Tero Koponen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes