How to change toolchain [MacOSX]
Qt Creator and other tools
3
Posts
2
Posters
1.3k
Views
1
Watching
-
Hi!
Recently I migrate to MacOSX 10.8.4 with QtCreator 2.8.0.
I install XCode and command line tools from AppStore, but unfortunately it include only gcc 4.6 which isn't support futures from C++0x/11
Then I install from macports gcc 4.8 and add it to QtCreator->Preferences->Build & Run->Compilers and specify this compiler in Kit settings.
But as I understand I miss something, because after that qmake generate in Makefile:
CC = /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
CXX = /Applications/Xcode.app/Contents/Developer/usr/bin/g++
but my compiler situated in /opt/local/bin
how to fix it? -
Hi,
IIRC you should be using clang with that version of Xcode