I am trying to compile Qt Creator which I pulled from GitHub as it is needed for creating Android applications. I am using Qt5 also pulled from GitHub which compiled with no problems. According to the Qt Creator README a simple "qmake -r" is all that is needed. However this fails with the following error.
Reading /Users/shaneshields/Qt/qtCreatorBuild/share/share.pro
Reading /Users/shaneshields/Qt/qtCreatorBuild/share/qtcreator/static.pro
xcrun: error: unable to find utility "\@\:", not a developer tool or in PATH
Reading /Users/shaneshields/Qt/qtCreatorBuild/share/qtcreator/translations/translations.pro
xcrun: error: unable to find utility "\@\:", not a developer tool or in PATH
Reading /Users/shaneshields/Qt/qtCreatorBuild/lib/qtcreator/qtcomponents/qtcomponents.pro
xcrun: error: unable to find utility "\@\:", not a developer tool or in PATH
Reading /Users/shaneshields/Qt/qtCreatorBuild/share/share.pro
Reading /Users/shaneshields/Qt/qtCreatorBuild/share/qtcreator/static.pro
xcrun: error: unable to find utility "\@\:", not a developer tool or in PATH
Reading /Users/shaneshields/Qt/qtCreatorBuild/share/qtcreator/translations/translations.pro
xcrun: error: unable to find utility "\@\:", not a developer tool or in PATH
Reading /Users/shaneshields/Qt/qtCreatorBuild/lib/qtcreator/qtcomponents/qtcomponents.pro
xcrun: error: unable to find utility "\@\:", not a developer tool or in PATH
To copy to clipboard, switch view to plain text mode
I have tried googling but found no information on what to do.
What could be causing this error and how do I fix it to be able to compile Qt Creator? The computer is a MacBook Pro Version 10.7.5.
Edit: I found out that the version of qtbase pulled from github was too old. Doing a "git pull" was not good enough I also had to do "git submodule update".
Bookmarks