In Qt Creator on Ubuntu, I want to create a cmake C++ project (ie without using qmake). So, I create a new "Non-Qt Project->Plain C++ Project (Ubuntu CMake Build)". Then, I edit the main file and CMakeLists.txt as necessary. I click on the "build" icon, which builds the program fine and creates an executable. However, when I then click on the "run" icon, the "Application Output" window gives me the error: "No executable specified."
So how do I tell Qt Creator where to find the executable?
This is a bug reported for a few months. Please read comments (specially the 2 or 3 lasts) on the ticket https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-cmake/+bug/1299441 to find some workarounds to this issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.