Nikos, Thanks for your detailed explanation.
At the time I was reading this email, the Qt was already being built with the option -no-c++11. Let see if it is sufficient. I’m currently running Xcode 6.2 on Mac OSX Yosemite 10.10.2 Thanks, Regards, Nuno > On 13/03/2015, at 23:57, Nikos Chantziaras <[email protected]> wrote: > > 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 _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
