diff options
author | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-03-12 13:35:04 +0100 |
---|---|---|
committer | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-03-12 13:56:06 +0000 |
commit | 24494fc6f1f222f9f4979dc870ba5d54a5941afc (patch) | |
tree | c9ead5b0df4231acaad29201b77bc5f81df9c021 /tests | |
parent | 006f14c38f6db16043f555196ff976532e89084d (diff) |
Force c++11 support when building the tests
This fixes several warnings because of the use of the override
keyword in private headers.
Change-Id: Id30e13cab08be7b31a115e1b9b7334765d677cc3
Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/tests.pri | 2 | ||||
-rw-r--r-- | tests/auto/widgets/tests.pri | 2 | ||||
-rw-r--r-- | tests/quicktestbrowser/quicktestbrowser.pro | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/quick/tests.pri b/tests/auto/quick/tests.pri index b637c29c1..56eee7199 100644 --- a/tests/auto/quick/tests.pri +++ b/tests/auto/quick/tests.pri @@ -3,6 +3,8 @@ TEMPLATE = app # FIXME: Re-enable once we want to run tests on the CI # CONFIG += testcase +CONFIG += c++11 + VPATH += $$_PRO_FILE_PWD_ TARGET = tst_$$TARGET diff --git a/tests/auto/widgets/tests.pri b/tests/auto/widgets/tests.pri index c1231defe..f14afb598 100644 --- a/tests/auto/widgets/tests.pri +++ b/tests/auto/widgets/tests.pri @@ -3,6 +3,8 @@ TEMPLATE = app # FIXME: Re-enable once we want to run tests on the CI # CONFIG += testcase +CONFIG += c++11 + VPATH += $$_PRO_FILE_PWD_ TARGET = tst_$$TARGET diff --git a/tests/quicktestbrowser/quicktestbrowser.pro b/tests/quicktestbrowser/quicktestbrowser.pro index b285c5e62..7d6dfa6df 100644 --- a/tests/quicktestbrowser/quicktestbrowser.pro +++ b/tests/quicktestbrowser/quicktestbrowser.pro @@ -19,6 +19,7 @@ OTHER_FILES += ApplicationRoot.qml \ RESOURCES += resources.qrc QT += qml quick webengine +CONFIG += c++11 qtHaveModule(widgets) { QT += widgets # QApplication is required to get native styling with QtQuickControls |