Search code examples
c++qtqt-creator

How to configure a compiler in Qt Creator?


I have tried to compile some C++ code in Qt Creator, however I am getting this error message:

:-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

How do I go about configuring a compiler in the kit options?


Solution

  • Here is a link to the Qt documentation that talks about adding kits.
    and Here is a similar question asked in the Qt forums.