Qt Creator needs a compiler set up to build. Configure a compiler in the kit options

前端 未结 7 1980
花落未央
花落未央 2020-12-03 00:28

I Have Installed Qt Creator5 with latest binaries. but when i am running any program it is giving me this error.

:-1: error: Qt Creator needs a compiler set

7条回答
  •  失恋的感觉
    2020-12-03 01:15

    I had a similar issue when developing on my Mac -

    I was trying to do desktop development with QT creator 3.3.0 based on QT 5.4.0 (Clang 6.0 (Apple)) on OSX 10.9. After trying to manually modify my kits to use GCC, G++, and CLANG. I finally found this really simple solution:

    Delete the xxx.pro.user file and then restart QT Creator. It should then automatically pick up your compilers/environments.

提交回复
热议问题