[Interest] [Mingw-w64-public] Compiling Qt (4 or 5) with "-std=c++11"
K. Frank
kfrank29.c at gmail.com
Thu Mar 21 21:52:29 CET 2013
Hello Lists!
Should I expect to be able to build Qt with "-std=c++11" using mingw-w64?
I am considering upgrading the compiler and libraries I use with the specific
goal of using "-std=c++11" in order to take advantage of the new c++ features.
(I am hoping to upgrade from gcc 4.7 to gcc 4.8 at the same time.)
As I understand it, using "-std=c++11" causes abi breakage, so to do this, I
will have to recompile the various libraries I use.
I have been using one of Ruben's 4.7 std::thread-enabled builds with Qt 4 with
good success (but not with "-std=c++11" turned on). If it makes sense, I would
take this opportunity to upgrade to Qt 5, but I don't view that as essential.
Has anyone built Qt with either gcc 4.7 or 4.8 with "-std=c++11" activated?
I've asked about the pros and cons of Qt 4 vs. Qt 5 in a separate post, but
would welcome comments on whether Qt 4 and 5 interact differently with
"-std=++11". (I also use qwt, currently version 6.0.1, but will ask about that
in particular in a separate post.)
Thanks in advance for any advice.
K. Frank
More information about the Interest
mailing list