[Interest] Qt 5 on Mac OS X

Stephen Chu stephen at ju-ju.com
Fri Dec 21 17:56:55 CET 2012


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