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

Qt Quick Application template project does not compile

    XMLWordPrintable

Details

    • Windows
    • 335b70de5 (11.0)

    Description

      Steps to reproduce:

      • Open "New Project..." wizard from the File menu
      • Choose "Qt Quick Application" from "Application (Qt)" projects
      • Make sure to select "Create a project that you can open in Qt Design Studio."
      • The "Use Qt Virtual Keyboard" setting was disabled and minimum Qt version was kept at default (6.4)
      • I selected a 6.4.1 MSVC kit since it was the only one supporting the configuration from above for me.

      Outcome:
      After finishing the wizard the project gets configured automatically, which results in a fail for me with the following output:

      Running C:\Qt\Tools\CMake_64\bin\cmake.exe -S C:/Users/davschul/Documents/untitled38 -B C:/Users/davschul/Documents/build-untitled38-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=C:\Users\davschul\Documents\build-untitled38-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug/.qtc/package-manager/auto-setup.cmake" "-DQT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/6.4.1/msvc2019_64/bin/qmake.exe" "-DCMAKE_PREFIX_PATH:PATH=C:/Qt/6.4.1/msvc2019_64" "-DCMAKE_C_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe" "-DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG" in C:\Users\davschul\Documents\build-untitled38-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug.
      -- The CXX compiler identification is MSVC 19.29.30140.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - not found
      -- Found Threads: TRUE  
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE  
      -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
      -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
      Building designer components.
      $(PROJECT_SOURCE_DIR)
      $(PROJECT_VERSION_MAJOR)
      -- PROJECT_SOURCE_DIR="C:/Users/davschul/Documents/untitled38"
      -- PROJECT_VERSION_MAJOR="6"
      CMake Error at CMakeLists.txt:38 (include):
        include could not find requested file:
      
          C:/Users/davschul/Documents/untitled38/insight
      
      
      -- Configuring incomplete, errors occurred!
      See also "C:/Users/davschul/Documents/build-untitled38-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug/CMakeFiles/CMakeOutput.log".
      See also "C:/Users/davschul/Documents/build-untitled38-Desktop_Qt_6_4_1_MSVC2019_64bit-Debug/CMakeFiles/CMakeError.log".
      CMake process exited with exit code 1.
      
      Elapsed time: 00:08.
      

      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
            davschul David Schulz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes