From 0ed5f8c9cedca037b85077d82f1ef8b80b979815 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 17 Dec 2024 14:39:18 +0100 Subject: [PATCH] qbs build: Fix qbs submodule build on Windows See qbs/6256e551616ccb7c0f5d9bad686e7585efaa2424. Change-Id: Ifbec8e4eb0ce003bb073c9504ef7ec47a5ee425a Reviewed-by: Ivan Komissarov --- qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs b/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs index 1ee8cef7a16..fac4041a73b 100644 --- a/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs +++ b/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs @@ -22,6 +22,10 @@ Module { return flags; } } + Properties { + condition: qbs.toolchain.contains("msvc") + cpp.defines: "_UCRT_NOISY_NAN" + } priority: 1