[Development] Qt 4.8 clang and libc++
Olivier Goffart
olivier at woboq.com
Sat Sep 8 14:02:27 CEST 2012
On Saturday 08 September 2012 13:46:52 Sylvain Pointeau wrote:
> > clang++ -c -o project.o -pipe -mmacosx-version-min=10.6 -stdlib=libc++
> > -DQMAKE_OPENSOURCE_EDITION
> >
> > how can I configure it to be -mmacosx-version-min=10.7 ?
>
> weird, it is in the file qtbase/mkspecs/common/gcc-base-macx.conf
> 3 lines contained -mmacosx-version-min=10.6
>
> seems to work with changing to 10.7
>
> but why gcc-base-macx is used when we configure clang?
because mkspecs/mac-clang/qmake.conf do
include(../common/gcc-base-macx.conf)
Because most of the config is common anyway.
You can override stuff in mkspecs/common/clang-mac.conf
--
Olivier
Woboq - Qt services and support - http://woboq.com
More information about the Development
mailing list