Just to clarify, from the command line if I open "x64 Native Tools Command Prompt for VS 2022" - that's because I want 64-bit and I create a file inside a random directory named hello_world.cpp containing
// This program outputs the message "Hello, World!" to the monitor
import std; // gain access to the C + + standard library
int main() // C++ programs start by executing the function main
{
std:: cout << "Hello, World!\n"; // output "Hello, World!"
return 0;
}
and I first create the standard library like this as mentioned in the Microsoft tutorial
cl /std:c++latest /EHsc /nologo /W4 /c "%VCToolsInstallDir%\modules\std.ixx"
then compiling works
cl /std:c++latest /EHsc /nologo /W4 hello_world.cpp std.obj
and creates the executable.
The question is how to achieve the same using Qt Creator.