build error:invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
-
wrote on 20 Apr 2015, 14:43 last edited by
Hey!
I guess you guys already saw this in the past but, i don't get it to work.
I am using Qt 3.2.1 (opensource) based on Qt 5.3.2 -> thats what my about tab tells me.
Xcode Version: 6.3 (6D570), MacOSX: 10.10.3I already had problems compiling in the past, that means i already changed the version to 10.10 manually in: 5.3 /clang_64 /mkspecs /qdevice.pri
My build errors are:
error:invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
error: [main.o] Error 1any ideas how to fix this? i am really getting tired a little bit with this freaking file link or file changing problems on my mac :(
changing something in my .pro file is not very useful i guess because this file is used by me and 2 other guys. one of them on windows, one of them on linux ubuntu.TIA
greets
-
wrote on 20 Apr 2015, 20:01 last edited by
ok finally:
modifying Qt/5.3/clang_64/mkspecs/macx-clang/qmake.conf
this way:
#QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7did the job.
just in case anybody needs this again. seems easy afterwards -.-
1/2