Meysam
Meysam

Reputation: 18117

QtCreator does not recognize cmake

Even though I have set the cmake executable path (/usr/local/bin/cmake) via (Tools > Options > Build & Run > CMake), when I try to open a cmake project (or create a new one), I encounter the following error:

enter image description here

How can I fix this?

Upvotes: 0

Views: 555

Answers (1)

Meysam
Meysam

Reputation: 18117

The problem was that in the (Tools > Options > Build & Run > Kits > Manual > Desktop), the Compiler was not set. I set it to "GCC (X86 64bit in /usr/bin)" and the issue was fixed.

Upvotes: 1

Related Questions