forked from qt-creator/qt-creator
Fix Qbs build on Windows
Change-Id: I0d03a73731eb02852d34626ef243597214597ee8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -95,6 +95,8 @@ Module {
|
||||
"QT_USE_QSTRINGBUILDER",
|
||||
].concat(testsEnabled ? ["WITH_TESTS"] : [])
|
||||
.concat(qbs.toolchain.contains("msvc") ? ["_CRT_SECURE_NO_WARNINGS"] : [])
|
||||
.concat((qbs.toolchain.contains("msvc") && Utilities.versionCompare(qbs.version, "1.23.2") < 0)
|
||||
? ["_ENABLE_EXTENDED_ALIGNED_STORAGE"] : [])
|
||||
|
||||
Properties {
|
||||
condition: cpp.present && qbs.toolchain.contains("msvc") && product.Qt
|
||||
|
Reference in New Issue
Block a user