I am developing a application using Qt, the C++ library/framework. Using the QT-Creator I can compile my project just fine and the build directory generates the desired exec
Thanks for the tips guys. I realized what I was doing wrong. QT-Creator actually takes the first two steps silently.
So, the key thing that I overlooked was that you had to be in the build directory first and then call qmake, make etc... And also if the build already has the files compiled it throws that error. I just have to make sure I clean the build directory to compile everything fresh.
In terminal window
If compiling an existing project, qmake -project is actually wrong, see "qmake --help".
qmake -makefile
make
If its a large project, "make -j4" or similar.