How to check the version of msvc installed by Visual Studio?

I once built Qt from source but forget now which version of compilers I used to build it. In the config.summary, I found the following string:

Building for: win32-msvc (x86_64, CPU features: sse sse2)
Compiler: msvc 19.xx.xxxxx.0

Open Visual Studio Help/About Microsoft Visual Studio, I found the Visual Studio version is 17, which is a mismatch with the msvc version. In fact, the MSVC version is not the same thing as the Visual Studio version. To find the msvc version, you should first locate the cl.exe you used to compile, then run that cl.exe without any argument. It will print its version on the screen, which is also the value of _MSC_VER and _MSC_FULL_VER.

 

 

Did you like this?
Tip admin with Cryptocurrency

Donate Bitcoin to admin

Scan to Donate Bitcoin to admin
Scan the QR code or copy the address below into your wallet to send some bitcoin:

Donate Bitcoin Cash to admin

Scan to Donate Bitcoin Cash to admin
Scan the QR code or copy the address below into your wallet to send bitcoin:

Donate Ethereum to admin

Scan to Donate Ethereum to admin
Scan the QR code or copy the address below into your wallet to send some Ether:

Donate Litecoin to admin

Scan to Donate Litecoin to admin
Scan the QR code or copy the address below into your wallet to send some Litecoin:

Donate Monero to admin

Scan to Donate Monero to admin
Scan the QR code or copy the address below into your wallet to send some Monero:

Donate ZCash to admin

Scan to Donate ZCash to admin
Scan the QR code or copy the address below into your wallet to send some ZCash:

Leave a Reply