[Interest] Compiling Programs with C++11 with Qt5, which was compiled without C++11 flag. Possible?

Thiago Macieira thiago.macieira at intel.com
Thu Aug 15 03:14:57 CEST 2013


On quinta-feira, 15 de agosto de 2013 02:58:06, Guido Seifert wrote:
> Do you sleep never? :-)
> 
> > We don't use delegating constructors anywhere in Qt, in any version.
> 
> That's not what I meant. When Qt is compiled without C++11, can it be used
> to develop programs, which use C++11? I know, this is a rather far fetched
> speculation, but...

Qt's choice of C++11 does not impact at all your choice of C++11 in your 
application. See my talk on this subject at C++Now:

https://github.com/boostcon/cppnow_presentations_2013/blob/master/wed/cpp11_in_qt.pdf?raw=true

> > Either the error is bogus or the interpretation of the error is bogus.
> 
> ... as far as I understood him, the program compiles and runs until he adds
> CONFIG+=C++11 to his .pro file. And in the code the only C++11 feature,
> which he tried yet, was a delegating constructor.

In his code? How does that make it a Qt problem?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130814/dcb536ed/attachment.sig>


More information about the Interest mailing list