In the attached screenshots I don't see the actual error. Anyway I do see a behaviour that sounds to me like to be the same issue.
I get an error if I touch CMakeLists.txt (even if I make no actual change there) and then try to build the project. I see:
:-1: error: Qt Creator needs a CMake Tool set up to build. Configure a CMake Tool in the kit options.
displayed in the Issues tab and
22:47:21: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project Test3 (kit: UbuntuSDK for desktop (GCC amd64-ubuntu-sdk-15.04))
When executing step "Make"
in the Compile Output tab.
It's also impossible to run CMake via Build/Run CMake - it seems to do nothing except printing this to stdout (if Ubuntu SDK IDE is started from a terminal):
SOFT ASSERT: "tool && tool->isValid()" in file /build/ubuntu-sdk-ide-ukgs_u/ubuntu-sdk-ide-4.1.0~168+201611161046~ubuntu16.10.1/dist/qtcreator/src/plugins/cmakeprojectmanager/builddirmanager.cpp, line 398
It's possible to reproduce like this:
1) start Ubuntu SDK IDE
2) create a new project, use QML App with C++ plugin (cmake), pick any name and accept the default values for everything
3) notice that CMake was successfully run after the project was created
4) open CMakeLists.txt in the IDE, add and remove a space (make no change, just allow the file to be saved), save it
5) choose Build/Build All
expected: CMake is run, then the build is started
observed: CMake is not run, IDE displays errors
Restarting Ubuntu SDK IDE, opening the same project, and choosing build or running CMake then passes OK. But the issue basically means one has to restart the IDE after each CMake change.
In the attached screenshots I don't see the actual error. Anyway I do see a behaviour that sounds to me like to be the same issue.
I get an error if I touch CMakeLists.txt (even if I make no actual change there) and then try to build the project. I see:
:-1: error: Qt Creator needs a CMake Tool set up to build. Configure a CMake Tool in the kit options.
displayed in the Issues tab and
22:47:21: Configuration is faulty. Check the Issues view for details. sdk-15. 04))
Error while building/deploying project Test3 (kit: UbuntuSDK for desktop (GCC amd64-ubuntu-
When executing step "Make"
in the Compile Output tab.
It's also impossible to run CMake via Build/Run CMake - it seems to do nothing except printing this to stdout (if Ubuntu SDK IDE is started from a terminal):
SOFT ASSERT: "tool && tool->isValid()" in file /build/ ubuntu- sdk-ide- ukgs_u/ ubuntu- sdk-ide- 4.1.0~168+ 201611161046~ ubuntu16. 10.1/dist/ qtcreator/ src/plugins/ cmakeprojectman ager/builddirma nager.cpp, line 398
It's possible to reproduce like this:
1) start Ubuntu SDK IDE
2) create a new project, use QML App with C++ plugin (cmake), pick any name and accept the default values for everything
3) notice that CMake was successfully run after the project was created
4) open CMakeLists.txt in the IDE, add and remove a space (make no change, just allow the file to be saved), save it
5) choose Build/Build All
expected: CMake is run, then the build is started
observed: CMake is not run, IDE displays errors
Restarting Ubuntu SDK IDE, opening the same project, and choosing build or running CMake then passes OK. But the issue basically means one has to restart the IDE after each CMake change.