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

error when building a project using the built-in "Qt Quick Application" template

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 14.0.2
    • Quick / QML Support
    • None
    • Windows

    Description

      When creating a project using the "Qt Quick Application" template, the following errors are displayed:

      1.Z:\Qt\6.8.0\msvc2022_arm64\lib\cmake\Qt6Core\Qt 6 Core Macros.cmake:820:EVAL:1: error: Failed to scan target up untitled 1 for QML imports: 1

      Call stack:
        Z:/Qt/6.8.0/msvc2022_arm64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:820:EVAL:1 (qt6_finalize_target)
        Z:/Qt/6.8.0/msvc2022_arm64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:851 (_qt_internal_finalize_executable)
        Z:/Qt/6.8.0/msvc2022_arm64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:753 (cmake_language)
        Z:/Qt/6.8.0/msvc2022_arm64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:753 (qt6_import_qml_plugins)
        Z:/Qt/6.8.0/msvc2022_arm64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3901 (_qt_internal_scan_qml_imports)
        Z:/Qt/6.8.0/msvc2022_arm64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3859 (message)

      2.:-1: error: Command "C:\Program Files\CMake\bin\cmake.exe -S "Z:/Qt projects/untitled1" -B "Z:/Qt projects/untitled1/build/build-Debug"" ended with code 1.

      3.:-1: error: CMake project configuration failed. No CMake configuration for build type "Debug" found. Check General Messages for more information.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            alfazero Alfa Zero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes