Solved: installing 4.8.4 libraries on MacOS
-
:( Symlink will work perhaps?
This is bad. I'm sure there was another qmake somewhere else, but as said - can't check now, I've only got a Mac machine at work (luckily ;) ). Or we are back at compiling from source.
-
wrote on 7 Dec 2012, 14:47 last edited by
Using the link did seem to work. I modified my default kit to run with the 4.8.4 libraries and didn't get any complaints.
Thanks for the help. I do look forward for the day when the Mac OS architecture doesn't require the Qt installer to be so cumbersome.
-
Good to hear that. Per aspera ad astra, as they say :)
-
wrote on 23 Aug 2013, 22:00 last edited by
Same problem, but I don't realize how do you solve.
Could you explain for me?
Thank you. -
Hi and welcome to devnet,
If you need to get qmake from /usr/bin:
- Do as before (click on choose)
- Go to Macintosh HD
- Presss CMD + SHIFT + .
That will temporarily show hidden folders. Then you can access /usr
Hope it helps
-
wrote on 24 Aug 2013, 21:06 last edited by
SGaist,
Thank you very much!!!
You are my hero. -
wrote on 8 Feb 2014, 15:18 last edited by
Hi I have the same problem here:
I followed the suggestion there and indeed find that there is /usr/bin/qmake and it is indeed "Using Qt version 4.8.5 in /Library/Frameworks"
Following the SGaist's advice I use the command+shift+. to reveal hidden files.
Now I can see both qmake under /usr/bin BUT it is greyed out and I just CANNOT select it.
Can someone help?
-
wrote on 8 Feb 2014, 15:18 last edited by
Hi I have the same problem here:
I followed the suggestion there and indeed find that there is /usr/bin/qmake and it is indeed "Using Qt version 4.8.x in /Library/Frameworks"
Following the SGaist's advice I use the command+shift+. to reveal hidden files.
Now I can see both qmake under /usr/bin BUT it is greyed out and I just CANNOT select it.
Can someone help?
-
What version of Qt Creator are you using ?
-
wrote on 10 Feb 2014, 19:27 last edited by
Not the same person, but I have the same issue with usr/bin/qmake being greyed out. I'm using Qt Creator 3.0.1.
-
Are you sure that /usr/bin/qmake is not a symbolic link that points to nowhere ?
-
wrote on 11 Feb 2014, 01:31 last edited by
Just got it working actually, it was an ownership issue. Changing it with "sudo chown" in terminal got it fixed:
cd usr/bin
sudo chown [username] qmakeThanks!
Edit: Wow nope, spoke too soon. Once I changed the ownership, the Qt version automatically showed up under "Manual" so I thought everything was good. I changed tabs to add the version to my kit but it wouldn't show up in the drop-down menu. I closed the Preferences window (I didn't hit "apply") and reopened it, now the Qt version is gone and it's still greyed out when I try to select it.
-
wrote on 11 Feb 2014, 15:58 last edited by
I managed to finally load qmake but in a rather roundabout way.
I followed an earlier suggest and made an alias for qmake on my documents folder using Symlink.
ln -s /usr/bin/qmake Documents/qmake
But I also saw this alias qmake as greyed out.
I then reinstalled the Qt5 binary package that includes Qt Creator and Qt 5 library (I earlier uninstalled this in preparation for installing the 4.8.5 library and Creator separately).
I choose Preference>Qt Version and choose Add.
I could now see the alias qmake which I selected.
I uninstalled the QtCreator+Qt 5 combo.
I started the Qt Creator installed earlier on a separate dir. I could now see the alias qmake as not greyed out. But the actual qmake as revealed by command+shift+. was still greyed out.
Now I have successfully installed Qt 4.8.5
This is a rather round about way and I am sure I must have turned on something by accident which could have been got at by a much shorter. But nonetheless this is how I got it working.
I wish it could be a lot less painful
-
Glad you succeeded but it's indeed pretty convoluted...
-
wrote on 12 Feb 2014, 16:48 last edited by
Thanks vwcc, I uninstalled and reinstalled everything and now it works.