Missing files in QtCreator on Apple iMac
-
Hello.
I have a strange problem with Qt Creator in iMac:
After creating a new project (Qt widget application) with Build system qmake (Kit Qt 6.7.1 for macOS) all files are created and „main.cpp“ appears in the QtCreator-window. But a warning appears on top the window „ This file is not included in any project. The code model may have problems evaluating the file correctly“ appears, too.
The Project-Window on the upper left side contains only „Test01.pro“. The sourcecode files are not listed.
The Problem-Window below the QtCreator-Window shows a Project-Error: „ :-1: Fehler: Project ERROR: Could not resolve SDK Path for 'macosx' using --show-sdk-path“
After uninstalling and reinstalling of Qt, the problem disappears temporarily, but then reappears.Thanks for your advice.
-
Hi and welcome to devnet,
Did you install Xcode and the command line tools ?