I installed Qt 5.1 on OS X Lion, and tried to compile my first application, but had an issue :
"
Xcode not set up properly".
I launched
Code:
# /usr/bin/xcodebuild
but it reported an error : “
Can’t run /Applications/usr/bin/xcodebuild (no such file).”
After a few research on the net, I found a solution on
Stack Overflow :
Code:
# sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Now, it perfectly works.