Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator fails to build new QT Quick project
Forum Update on Monday, May 27th 2025

Qt Creator fails to build new QT Quick project

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 285 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jeonje TPMJ Offline
    jeonje TPMJ Offline
    jeonje TPM
    wrote on last edited by jeonje TPM
    #1

    Screenshot 2024-02-18 131239.png
    Screenshot 2024-02-18 131341.png

    Hello there!
    I am trying to create a new Qt Quick project using Qt creator 12.0.2 community. I have the Desktop Qt 6.4.3 MinGW 64-bit kit installed and selected for the new project. All the basic stuff for creating a new project is all there, I have never had this problem before and I don't know what's going on. I am getting the errors as shown in the image above, before even doing anything with the project. Simply it trying to build as a new project does not work and I can't access the project files.

    Would be nice to get some help with this, i have tried re-installing full Qt and resetting all settings & cache but the same thing happens. I have only had this problem starting from yesterday, previously this was never a thing.

    I have also attached image of CMakeLists. As you can see all the directories are greyed out, but I can access and edit them, but obviously trying to build after editing things still won't work.

    Thanks in advance.

    cristian-adamC 1 Reply Last reply
    0
    • jeonje TPMJ jeonje TPM

      Screenshot 2024-02-18 131239.png
      Screenshot 2024-02-18 131341.png

      Hello there!
      I am trying to create a new Qt Quick project using Qt creator 12.0.2 community. I have the Desktop Qt 6.4.3 MinGW 64-bit kit installed and selected for the new project. All the basic stuff for creating a new project is all there, I have never had this problem before and I don't know what's going on. I am getting the errors as shown in the image above, before even doing anything with the project. Simply it trying to build as a new project does not work and I can't access the project files.

      Would be nice to get some help with this, i have tried re-installing full Qt and resetting all settings & cache but the same thing happens. I have only had this problem starting from yesterday, previously this was never a thing.

      I have also attached image of CMakeLists. As you can see all the directories are greyed out, but I can access and edit them, but obviously trying to build after editing things still won't work.

      Thanks in advance.

      cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      It's just tooling not supporting long paths on Windows.

      Try this:

      if (BUILD_QDS_COMPONENTS)
          if (WIN32)
              set(FETCHCONTENT_BASE_DIR $ENV{HOMEDRIVE}/bld/qds-deps)
          endif()
          include(${CMAKE_CURRENT_SOURCE_DIR}/qmlcomponents)
      endif() 
      

      To get the components built with smaller paths.

      See https://bugreports.qt.io/browse/QTBUG-117413 for details.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved