Saturday, February 19, 2022

[SOLVED] CentOS qt-creator when executing step qmake

Issue

I'm new at qt, and that's my first day with qt-creator, I just built a blank project try to compile, then wrong message came up. Here is my config file :

src="https://i.stack.imgur.com/8BkCC.png" alt="enter image description here"> enter image description here


Solution

The make step says: "No compiler set in kit". Please install a compiler (gcc or clang both work on Linux) and restart Qt Creator.

If the restart does not help: Go to Tools>Options>Build & Run>Toolchains and check that your compilers are detected. Then hit the "Apply" button and switch to the "Kits" tab of the options window.

Make sure the expected compiler is listed in the kit (after selecting the "Desktop" kit. Make sure no warnings/errors are shown in front of the kit. If there are any: Hover the kit with your mouse and check the tooltip for details.

Hope this helps:-)



Answered By - Tobias Hunger
Answer Checked By - Mary Flores (WPSolving Volunteer)