Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

build error:invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)

  • 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.3

    I 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 1

    any 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.



  • ok finally:

    modifying Qt/5.3/clang_64/mkspecs/macx-clang/qmake.conf

    this way:


    did the job.

    just in case anybody needs this again. seems easy afterwards -.-