Reputation: 3164
I installed the qt debug and release libraries and qt creator.
I can't make it build because of qmake. How can i make qt creator know of qmake
?
I went to Preferences->Build&Run
and click Add
but I can't select anything, not even qmake
after I find it.
I have qmake, I can run it from the command line but I can't make the QtCreator
know about it.
Please help me, I feel like I'm gonna blow up.
Thanks
Upvotes: 0
Views: 2986
Reputation: 113
On qt creator 4.1.0, open the Build&Run Preferences.
Under Qt Version click "Add" and hit: Command + shift + G
and then type: /usr/local/bin (or whereever your qmake is: find qmake
)
In order to see the new qt version in Kits you need to hit OK and re-open the Preferences window
I use Mac version 10.11.6 and it worked for me.
Upvotes: 1
Reputation: 3164
What I did was browse a file in /usr/bin
(which is hidden in Mac OS X) which set the default folder that comes out in the file explorer to /usr/bin
. Then I browsed for qmake
which drove me in /usr/bin so i can select qmake. That's a workaround however.
Upvotes: 1
Reputation: 1459
I believe it's an ownership issue. Try chown on /usr/bin/qmake and re-try Adding to Qt Versions.
Upvotes: 0