Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
How to use C++11 in your Qt Projects
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.