Default project fails
-
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.
@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.