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 Updated to NodeBB v4.3 + New Features

Qt Creator fails to build new QT Quick project

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 286 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.
  • J Offline
    J Offline
    jeonje TPM
    wrote on 18 Feb 2024, 13:18 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.

    C 1 Reply Last reply 18 Feb 2024, 13:36
    0
    • J jeonje TPM
      18 Feb 2024, 13:18

      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.

      C Offline
      C Offline
      cristian-adam
      wrote on 18 Feb 2024, 13:36 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

      1/2

      18 Feb 2024, 13:18

      • Login

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