1. Using Visual Studio 2019 / Qt 5.15.3 / Qt Vs Tools 220.127.116.11, create a new Qt console application.
2. Change in the project "Configuration Properties" / C/C++ / Language: "Enforce type conversion rules": No (/Zc:rvalueCast-)
3. Build the project: shows command line warning, and the property you just changed is ignored/overwritten by Qt Vs Tools.