diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2019-06-17 17:02:15 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2019-06-17 17:13:21 +0200 |
commit | eed85dc3e72c56caaa65dd4ec27ef6892ca1ffae (patch) | |
tree | 716527c10875d141afc91bed53d38ccd8ed2847a /tests | |
parent | 5aaade8c935caa1add92f61187c0065e34cf7e0e (diff) |
Turn on C++11 and 14 correctly
Without this, a local build of this test on macOS fails.
Change-Id: Ie03fa47ff0a54db752af47f223fbe5724cd9c976
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/corelib/global/qglobal/qglobal.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/corelib/global/qglobal/qglobal.pro b/tests/auto/corelib/global/qglobal/qglobal.pro index b105769430..e4453affa5 100644 --- a/tests/auto/corelib/global/qglobal/qglobal.pro +++ b/tests/auto/corelib/global/qglobal/qglobal.pro @@ -2,4 +2,6 @@ CONFIG += testcase TARGET = tst_qglobal QT = core testlib SOURCES = tst_qglobal.cpp qglobal.c -contains(QT_CONFIG, c++1z): CONFIG += c++1z +qtConfig(c++11): CONFIG += c++11 +qtConfig(c++14): CONFIG += c++14 +qtConfig(c++1z): CONFIG += c++1z |