Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] QT 4.8 CMake project
I will keep looking for an answer, but here is the CMakeLists.txt and main.cpp of a very basic program that compiles somewhat... but doesn't run. So what's the heck? %QTDIR%\bin in in PATH. What else to check?
Compilation message :
@[100%] Building CXX object CMakeFiles/FirstApp.dir/main.cpp.obj
Linking CXX executable FirstApp.exe
LINK : FirstApp.exe not found or not built by the last incremental link; performing full link
[100%] Built target FirstApp
14:05:32: The process "C:\Qt\Qt5.2.0\Tools\QtCreator\bin\jom.exe" exited normally.
executable then list of files
main.cpp hello world code:
using namespace std;
int main(int argc, char *argv)
QCoreApplication a(argc, argv);
cout << "Hello World"; return a.exec();
It seems that compilation goes well because I removed FirstApp* files from build directory and the message mentioned above went awway.
When launching it stays stuck at "Starting C:\Developpement\Projects\FirstApp-build\FirstApp.exe...". Any clue where to have a look ?
I made it working by checking "run in terminal" in run settings!