Skip to content

Commit

Permalink
fix msvc probe crashes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Nov 18, 2023
1 parent cb6fd8c commit 7c2393c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/corelib/tools/msvcinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ static QVariantMap getMsvcDefines(const QString &compilerFilePath,
<< qEnvironmentVariable("COMSPEC")
<< QStringLiteral("/c")
<< languageSwitch
<< QStringLiteral("/Zs")
<< QStringLiteral("NUL"),
compilerEnv, true, commands)).split(QLatin1Char('\n'));

Expand Down

0 comments on commit 7c2393c

Please sign in to comment.