tests/4 qt: Force the use of -std=c++11

Qt5 now requires this, and if no -std option is passed to clang, it does
not enable C++ 11 features and we get a build failures.
This commit is contained in:
Nirbheek Chauhan 2017-01-20 03:10:55 +05:30
parent f71136b89e
commit d9c31d4a24
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
project('qt4 and 5 build test', 'cpp')
project('qt4 and 5 build test', 'cpp',
# Qt5 now requires C++ 11 support
default_options : ['cpp_std=c++11'])
qt5_modules = ['Widgets']
foreach qt : ['qt4', 'qt5']