M
M
Mars362021-03-19 18:12:48
Qt Creator
Mars36, 2021-03-19 18:12:48

How to force QtCreator to use make instead of ninja in a project with stm32?

I'm trying to connect a project with stm32 to qt. The project uses cmake. When starting cmake in the IDE, an error occurs:

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
CMake process exited with exit code 1.


If you collect the project through the console by means:
cmake ..
make
Then the project is perfectly assembled, flashed and works. As I understand it, the point is that the IDE is trying to use ninja instead of make. I couldn't find a setting to change this. How can this be fixed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mars36, 2021-03-19
@Mars36

In general, make can be selected in the kit configuration. there will be a change button on the right.
qNdFUkj.png

A
Alexander Ananiev, 2021-03-19
@SaNNy32

Just select the ninja project in cmake.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question