How to use C++11 in your Qt Projects: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 15:49, 14 January 2015

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: