diff --git a/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs b/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs index e936a30d201f..fb0533ed48af 100644 --- a/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs +++ b/qbs/modules/qbsbuildconfig/qbsbuildconfig.qbs @@ -26,6 +26,7 @@ Module { Properties { condition: qbs.toolchain.contains("msvc") cpp.cxxFlags: ["/permissive-"] + cpp.defines: "_UCRT_NOISY_NAN" } priority: 1