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