Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT creator 11.0.3 issues with default app

QT creator 11.0.3 issues with default app

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 669 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.
  • V Offline
    V Offline
    Veit
    wrote on last edited by
    #1
    • I create a QT quick app in creator.

    • I select "project which can be used in Qt design studio"

    • I select Desktop Qt 6.6.0 MinGW 64-bit

    • then it takes 2 minutes or so, while creator does some background magic, like setting all up, getting some stuff from GIT etc.

    • After that I press F5 to start. Again it takes 2 minutes and in the "compilation" window I see much compilation happening

    • And then it crashes
      c70cc2b7-4423-47d2-bdb0-1573523ee78b-image.png

    • I mean this is an empty demo setup created by the creator. I did not do any changes. Why does it break?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Veit
      wrote on last edited by
      #2
      • This is a Windows 11 setup, btw. Could it be that there is an issue with file path length? As I did it again now in c:\temp and this looks better. Really? I am confused
      jsulmJ 1 Reply Last reply
      0
      • V Veit
        • This is a Windows 11 setup, btw. Could it be that there is an issue with file path length? As I did it again now in c:\temp and this looks better. Really? I am confused
        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Veit said in QT creator 11.0.3 issues with default app:

        As I did it again now in c:\temp and this looks better

        Did the previous path contain spaces?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • cristian-adamC Offline
          cristian-adamC Offline
          cristian-adam
          wrote on last edited by
          #4

          It's mostly a tooling and operating system bug. See https://bugreports.qt.io/browse/QTBUG-117413

          Qt Creator is creating a CMake project in such a way that will get result in long paths.

          CMake then gives this paths further to ninja / make and then to the compiler. GCC has this bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 and even though is an easy fix to add the manifest entry required by Windows ... nobody has fixed it yet.

          Visual C++ has the same issue, see https://developercommunity.visualstudio.com/t/compiler-cant-find-source-file-in-path/10221576

          The only compiler that's fine is Clang. Ninja also requires a build from latest sources, since https://github.com/ninja-build/ninja/releases doesn't list yet version 1.12.0 which has the one line manifest entry that enables long paths.

          I usually say just switch to Linux or macOS, they are way more friendly to developers, and issues like this are non existent.

          Or ... just use c:/dev to have short paths 🙂

          1 Reply Last reply
          1

          • Login

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