How to use C++11 in your Qt Projects

From Qt Wiki
Revision as of 15:49, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to use c++11 in your qt projects?

At this moment (march 2014) Qt Creator doesn’t add the necessary flags for you by default. You have to do it manually.

In your pro file

add :

or

In Qt Creator build settings

you can use the build input fields :

Project > Build steps > qmake section >additional arguments

Don’t forget the “” in the input field.

Categories: