
Just watch this video: https://www.youtube.com/watch?v=j2Gfkrajb1M
GitHub Link: https://github.com/madhawapolkotuwa/QtWithVSCode_LoginForm
Do do it step by step carefully!
open VsCode setting, search cmake.cmakePath , and input your cmake path, such as: D:\Program Files\CMake\bin\cmake.exe
Before that, check CMaKe in your PC, if not, go https://cmake.org/download/
use msvs* better.