diff options
Diffstat (limited to 'qbs-resources')
-rw-r--r-- | qbs-resources/imports/QbsApp.qbs | 1 | ||||
-rw-r--r-- | qbs-resources/imports/QbsAutotest.qbs | 1 | ||||
-rw-r--r-- | qbs-resources/imports/QbsLibrary.qbs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/qbs-resources/imports/QbsApp.qbs b/qbs-resources/imports/QbsApp.qbs index f940d8aa8..530e9fddb 100644 --- a/qbs-resources/imports/QbsApp.qbs +++ b/qbs-resources/imports/QbsApp.qbs @@ -9,6 +9,7 @@ QbsProduct { cpp.includePaths: [ "../shared", // for the logger ] + cpp.cxxLanguageVersion: "c++11" Group { fileTagsFilter: product.type qbs.install: true diff --git a/qbs-resources/imports/QbsAutotest.qbs b/qbs-resources/imports/QbsAutotest.qbs index df7967cf5..85b31872b 100644 --- a/qbs-resources/imports/QbsAutotest.qbs +++ b/qbs-resources/imports/QbsAutotest.qbs @@ -7,6 +7,7 @@ QtApplication { Depends { name: "Qt.test" } Depends { name: "qbscore" } cpp.includePaths: "../../../src" + cpp.cxxLanguageVersion: "c++11" destinationDirectory: "bin" Group { name: "logging" diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs index e358fecfa..4b5d0f34a 100644 --- a/qbs-resources/imports/QbsLibrary.qbs +++ b/qbs-resources/imports/QbsLibrary.qbs @@ -10,6 +10,7 @@ QbsProduct { cpp.defines: base.concat(type == "staticlibrary" ? ["QBS_STATIC_LIB"] : ["QBS_LIBRARY"]) cpp.installNamePrefix: "@rpath" cpp.visibility: "minimal" + cpp.cxxLanguageVersion: "c++11" property string headerInstallPrefix: "/include/qbs" Group { fileTagsFilter: product.type.concat("dynamiclibrary_symlink") |