On 14/03/15 01:16, Nuno Santos wrote: > Sorry Thiago, > > But what means targeting libstdc++?
OS X 10.6 doesn't come with the new C++ library (libc++). It comes with an old one (libstdc++). They are not compatible with each other. Also, libstdc++ doesn't support C++11. Normally, you use the "-stdlib=libc++" to target the new library and "-stdlib=libstdc++" to target the old one. If nothing is specified, the compiler and linker will by default use the new library. I don't know how to instruct Qt's build system to specify the old one. Have you tried building Qt without C++11 support? This might do it. You use the "-no-c++11" configure option for that. For example: ./configure -platform macx-clang-32 -no-c++11 I'm not a Mac guru though and I don't know whether targeting the old library will actually allow the program to run on 10.6. You might want to post the version of OS X and XCode you're using, in case someone with more knowledge can help out. It might very well be that recent XCode versions don't actually support 10.6 anymore at all. I don't know. _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
