INSTALLING ON MAC 10.6.8
-
I think I did a full install of Xcode. How do I check for command line tools?
-
-
I don't see command line tools for Xcode under preferences: downloads tab.
install_name_tool appears to be there. I get the following in the Terminal:MacMini:~ jdp$ install_name_tool
Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input -
They appear to be at /Developer/usr/bin.
What does this have to do with Qt?
-
I think all that stuff is there. So Qt has a bad path from the installer?
Can I point it at the compiler and tool chain manually somehow?
-
This totally did not work . I tried setting the compiler and the version.
I finally uninstalled 5.2.1 and Qt Creator 3.0.1. I then installed Qt 4.8.5, Qt Debug Libraries 4.8.5, and Qt Creator 2.8.1. I had to go to archives to find Qt Creator 2.8.1. It did not work out of the box.
I had to do the following:
Launch Qt Creator 2.8.1 .
Select Qt Creator-> Preferences, then Build & Run tab.
Select Qt Versions tab.
Select qmake location: Choose...
Navigate from the Applications folder to /Developer/Tools/Qt/qmake
Select the Kits tab.
Select Clang 64bit.
Select Qt Version: Manage ...
Select Qt 4.8.5.
Repeat the last 3 steps for GCC 64bit.
I think I may have had to select "Auto-detect" on the debugger.Why doesn't Qt Creator know or find where qmake is?
-
Because there is no single place for qmake especially if you have several version Qt installed (e.g. Qt 5, Qt 4, Qt for Android etc…)