'How I can fix error in Qt Creator on Mac OS

I created a new project in Qt Creator 4.14.2 using Qt 5.14 version.

Without changing anything during the first run, I got the following error ":-1: error: Project ERROR: Could not resolve SDK Path for 'macosx' using --show-sdk-path"

I do not know what it is connected with. I did not work with Qt Creator itself for 3-4 months and did not change anything in it.

My MacOS version is 12.2.1 Monterey



Solution 1:[1]

I assume you upgraded your macOS and Xcode versions which somehow broke your existing Qt installation that was done on the previous macOS and Xcode... You should run MaintenanceTool from your Qt installation folder and update your Qt Creator. If you need to stick with Qt5.14 removing and reinstalling it should help. Otherwise, I would suggest going to Qt5.15.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 talamaki