'cl' is not recognized as an internal or external command,

前端 未结 10 1732
萌比男神i
萌比男神i 2020-12-13 12:21

I am trying to compile a hello world program in Qt Using Qt Creator.

I am getting \'cl\' is not recognized as an internal or external command.

I am using Win

10条回答
  •  攒了一身酷
    2020-12-13 12:57

    I had the same issue for a long time and I spent God knows how much on it until I accidentally figured what to do. This solution worked on windows 10. All you need to do is to add C:\WINDOWS\System32 to Path variable under User Variables in Environmental Variables... Note that if you add this to the system variables, it may also work. But, that didn't work for me.

提交回复
热议问题