QtCreator is failing to run CMake after updating

Viewed 556

I've been using QtCreator as my CMake IDE for a long time in Ubuntu. Today I was notified there was an update. So I updated and it looks like I can't compile CMake projects anymore.

This is the error I get when I run CMake from the IDE.

error: The source directory "/tmp/QtCreator-jNrmHx/qtc-cmake-OgPpycUx" does not appear to contain CMakeLists.txt.Specify --help for usage, or press the help button on the CMake GUI.

Any ideas what could be the problem?

1 Answers

I had a similar issue when setting up a new build config with QtC 4.14. In "CMake Initial parameters", make sure that there is no empty lines, and that each option is one per line. I then deleted the temp source folder re-ran CMake.

Related