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

Default project fails

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
21 Posts 3 Posters 4.5k Views 1 Watching
  • 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 jimbrownqtuser

    Solved!

    The solution was to change the desktop kit so the C++ compiler was GCC instead of CLANG. The C compiler was already set to GCC.

    The default app now shows all the files, is recognized as a project and runs.

    The suggestion "Check it has found proper Kits?" was the clue that led me to this solution. If I had more experience with Qt maybe I would have thought of that. I certainly didn't suspect that if you had a different compiler selected in the kit that the project display would not show Headers, Sources and Forms.

    I read the documentation on kits and learned how to create and modify kits.

    Thanks to those who helped. I would not have solved this without you.

    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by JonB
    #21

    @jimbrownqtuser said in Default project fails:

    The solution was to change the desktop kit so the C++ compiler was GCC instead of CLANG.

    Indeed! I can only say that my 24.04 installation (with Qt6) did this already, I never had a problem.
    It's obviously not helpful that it creates a project yet then cannot handle it.

    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