[Interest] Qt 5 on Mac OS X
Stephen Chu
stephen at ju-ju.com
Fri Dec 21 19:22:34 CET 2012
On 12/21/12 12:51 PM, Raul Metsma wrote:
> Seems like 10.6 does not have libc++.
> maybe have 2 prebuilt binaries, one with libc++ and libstdc++
>
> Raul
No, it doesn't. But it's easy enough to build one targeting 10.6 and
bundle it in the application. That's what we do.
> On Dec 21, 2012, at 6:56 PM, Stephen Chu <stephen at ju-ju.com> wrote:
>
>> On 12/21/12 3:17 AM, Sorvig Morten wrote:
>>>
>>>> Does the pre built binary use libstdc++ or libc++?
>>>
>>>
>>> According to "otool -L", QtCore from the 5.0.0 binary links against libstdc++.
>>
>> Doesn't that pretty much precludes us from using most C++11 features?
>> Using C++11 features like initializers list with clang requires using
>> the new standard libraries headers that are only available with
>> -stdlib=libc++ option. That will link our binaries against libc++ and
>> now we have 2 different C/C++ runtimes.
>>
>> That's not getting intothe mess that Qt is built with old GCC 4.2
>> headers and our binaries with libc++ ones.
More information about the Interest
mailing list