Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

[solved] 5.1.1 install building with 4.8?

$
0
0
I just installed 5.1.1 on my mac and recompiled one of my programs. I was pleasantly surprised when everything compiled without errors. However, when I ran macdeployqt, I noticed that it installed version 4 of the frameworks. At first, I thought something was wrong with macdeployqt. However, when I ran otool on the binary, it says it is linked with 4.8.2! I checked the settings in Qt Creator, and it is definitely set to use 5.1.1. What gives? How can I get Qt Creator to build with the new version? EDIT: It appears that the 5.1.1 installation didn’t copy qmake to /usr/bin. This shouldn’t be a problem though, shouldn’t it look for qmake in the location given by the Qt version that I select? I’ve set QTDIR to the 5.1.1 location (the installer didn’t do that either) I’ve selected it in the build settings and in the kit selection tab. I’ve selected it everywhere I know to, but when I removed qmake (for 4.8) from /usr/bin Creator complained about not being able to find it. Nothing I do will make it use the on in the 5.1.1 install location. I can copy that qmake to /usr/bin, but I have no idea what other files may need to be installed or where. Is there some secondary installer I need to run? I’m pretty sure when I upgraded to 4.8 from 4.6 it did it all for me.

Viewing all articles
Browse latest Browse all 2113

Trending Articles