1 Attachment(s)
Unable to create/open qmake project under MacOS X
I've just installed Qt and QtCreator on my Mavericks and I'm unable to open my qmake project (the .pro file).
In the "New project" dialog I'm also unable to create Qt project:
Attachment 10583
The environment was detected correctly (xcode clang):
http://i.stack.imgur.com/2K26P.png
I remember having the same problem when I tried QtCreator under Windows XP and I was told that it was too old system and is not officially supported, so I switched to Windows 7 and that was the solution.
Here I'm running pretty recent MacOS X, so what can it be? Is it "too recent"? :)
Re: Unable to create/open qmake project under MacOS X
I just installed Qt5.3.1 on Lion 10.7.3
1. did you install CommandLineTools for Xcode 1st?
2. then Xcode what ever version for your Mac OS X version
3. trick for me was after opening the dmg, copy the Xcode to /Applications directory, then installing.
4. had to do step 3, to get below to work in terminal....
Code:
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
5. Install Qt of course, I chose all the packages
6. then in .pro file I had to add
Code:
QMAKE_MAC_SDK = macosx10.7
sounds dumb but I also had to update my ITunes (don't know or want to know why)
I also had to play around with different versions of Xcode all of which "should've" worked, but took 3 installs till I had the exact one I needed.
this link is a big help
http://en.wikipedia.org/wiki/Xcode
hope you solve your issue
Re: Unable to create/open qmake project under MacOS X
Thanks for the reply!
I did all the steps you mentioned, but it was not working anyway. Then I looked into QtCreator plugins ("About Plugins" in the menubar) and I noticed that qmake support is a plugin. It was loaded but I also double clicked on it and I noticed that it depends on some Qml plugin, which was not loaded. I loaded it and everything started to work ;)
Thanks anyway!
Re: Unable to create/open qmake project under MacOS X
Installing all the packages also includes all the plugins. Glad you didn't give up.