[Interest] Qt 5 on Mac OS X

Sorvig Morten Morten.Sorvig at digia.com
Wed Jan 2 14:36:29 CET 2013


On Dec 21, 2012, at 5: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.

Yes, as I understand it you need to use libc++ to get most/all C++11 features. At some point the Mac binary package should switch over to use it. Perhaps we should have done it for 5.0.0, but that is in any case to late now. 

10.6 support seems to be the major factor holding us back. (?)

Morten





More information about the Interest mailing list