diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-19 13:50:47 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-20 15:46:48 +0000 |
commit | 14eafd5dca6b02c33653f452f2b4dbb667794bce (patch) | |
tree | 5c7b14e633e8b57e7a8d67fcaac672d25145f09b | |
parent | bd22de47e7c760753af06fdf02141449588f3323 (diff) | |
download | qt-creator-14eafd5dca6b02c33653f452f2b4dbb667794bce.tar.gz |
Wizards: Use C++11 in all qmake projects created by the JSON wizard
Change-Id: Idbe9053514ec94880df2d89a10ebe9bd4d9393b6
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
3 files changed, 6 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/projects/qmake/consoleapp/file.pro b/share/qtcreator/templates/wizards/projects/qmake/consoleapp/file.pro index 0aaed6adbd..ad2b74f649 100644 --- a/share/qtcreator/templates/wizards/projects/qmake/consoleapp/file.pro +++ b/share/qtcreator/templates/wizards/projects/qmake/consoleapp/file.pro @@ -1,6 +1,8 @@ QT += core QT -= gui +CONFIG += c++11 + TARGET = %{ProjectName} CONFIG += console CONFIG -= app_bundle diff --git a/share/qtcreator/templates/wizards/projects/qmake/qtcanvas3dapplication/app.pro b/share/qtcreator/templates/wizards/projects/qmake/qtcanvas3dapplication/app.pro index 77cbe784ca..f8ec75d4a9 100644 --- a/share/qtcreator/templates/wizards/projects/qmake/qtcanvas3dapplication/app.pro +++ b/share/qtcreator/templates/wizards/projects/qmake/qtcanvas3dapplication/app.pro @@ -2,6 +2,8 @@ TEMPLATE = app QT += qml quick +CONFIG += c++11 + SOURCES += main.cpp RESOURCES += qml.qrc diff --git a/share/qtcreator/templates/wizards/projects/qmake/qtquickcontrolsapplication/app.pro b/share/qtcreator/templates/wizards/projects/qmake/qtquickcontrolsapplication/app.pro index 201cfb0ee7..c1f25b4c76 100644 --- a/share/qtcreator/templates/wizards/projects/qmake/qtquickcontrolsapplication/app.pro +++ b/share/qtcreator/templates/wizards/projects/qmake/qtquickcontrolsapplication/app.pro @@ -6,6 +6,8 @@ QT += qml quick widgets QT += qml quick @endif +CONFIG += c++11 + SOURCES += %{MainCppFileName} RESOURCES += qml.qrc |