"'cl' is not recognized as an internal or external command" error after VS2019 update?
-
@jsulm ,
Yes.
I deleted compiled folder. Run qmake and build again. Unfortunatelly same error.Error while parsing file D:\Belgeler\Qt\MegYonetim\MegYonetim.pro. Giving up. Project ERROR: Cannot run compiler 'cl'. Output: =================== =================== Maybe you forgot to setup the environment?
Regards,
Mucip:) -
If you start command prompt from "x64 Native Tools Command Prompt for VS 2019" in the start menu, can you run cl?
-
@Bonnie ,
Yes, I added PostgreSQL driver paths only.But everythig wa OK before then VS2019 update.:(
Regards,
Mucip:) -
@Bonnie
I think I found a solution with your helps.I deleted pro.user file in the project directory and recreated with Qt Creator.
I added PostgreSQL ODBC paths in Build Environment path.Than all is fine now.
But I don't know why it is happened like this?!
Thank you all guys. :)
Regards,
Mucip:) -
-
I think it is because after the update, the full path of cl.exe has changed.
Normally Qt uses vcvarsall.bat to set the enviroment, so there won't be any problem.
But when you set the Path of the project, it saved in the pro.user with the old Path.