aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-05-28 10:54:24 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-05-28 10:39:36 +0000
commit07a0b3ddbb9ed39901f23ab814f856f6e2bb191a (patch)
treedaec5a4a92457d852ab45028338989f850b58fa5 /share
parent59644542542202907c6635ae0c05bda975fa383e (diff)
Fix the type of the cpp.cLanguageVersion property
This was forgotten in 2bda52aa3d. Also added autotest. Change-Id: Iba8c7c7aa6629f321017315b03964ce20809ac23 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/cpp/CppModule.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/CppModule.qbs b/share/qbs/modules/cpp/CppModule.qbs
index 1c42169d5..0078bb1af 100644
--- a/share/qbs/modules/cpp/CppModule.qbs
+++ b/share/qbs/modules/cpp/CppModule.qbs
@@ -276,7 +276,7 @@ Module {
allowedValues: ['default', 'hidden', 'hiddenInlines', 'minimal']
}
- property string cLanguageVersion
+ property stringList cLanguageVersion
PropertyOptions {
name: "cLanguageVersion"
allowedValues: ["c89", "c99", "c11"]