How to use C++11 in your Qt Projects: Difference between revisions
Jump to navigation
Jump to search
m (Simow moved page How to use c11 in your qt projects to How to use C++11 in your Qt Projects: Wording) |
AutoSpider (talk | contribs) (Add "cleanup" tag) |
||
Line 1: | Line 1: | ||
{{Cleanup | reason=Auto-imported from ExpressionEngine.}} | |||
[[Category:HowTo]] | [[Category:HowTo]] | ||
Revision as of 16:01, 3 March 2015
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
At this moment (February 2015) qmake supports enabling C++11 (and now C++14) support via the CONFIG option in your .pro file. According to the qmake 3.0 manual that comes with Qt 5.4.0 (qmake reference) you just need to add
CONFIG += c++11
or
CONFIG += c++14
C++11 support is enabled. This option has no effect if the compiler does not support C++11. By default, support is disabled.