When executing step "qmake"
-
Hello all.
I've just bought a new laptop, installed Linux Mint on it, as well as Qt.
On the HelloWorld exercise from the book "Application Development with Qt Creator" I hit the green arrow to compile and run the project, but I'm getting the following error message.
Many thanks if you can tell me how to resolve this.
Thanks!Error while building/deploying project HelloWorldConsole (kit: Desktop Qt 5.7.1 GCC 64bit)
When executing step "qmake" -
Kit may not have configured properly. Can u check in tools, options,build&run ? Under kits section do you see red flag ?
-
@KyleD It sounds like it can't find qmake.. If on the command line, make sure to set QTDIR to your Qt path, and include /path/to/qt/bin in your PATH.
Then you can run
qmake && make
.. If that works then go back and try again with qt creator. If it still doesn't work it's almost guaranteed to be in your kit settings somewhere. -
Thanks for the responses.
At first, I didn't have g++ installed. I thought Qt would have done this for me. So, after installing g++, I now get this message in the "Application Output" tab:
Starting /home/kyle/Documents/qt_projects/build-HelloWorldConsole-Desktop_Qt_5_7_1_GCC_64bit-Debug/HelloWorldConsole...
And it just doesn't do anything else. But that is ok, because when I try the QtGUI example, it does work! And that's what I'm interested in.
I'm guessing Qt just doesn't have permission to launch Terminal since I'm on Linux...Thanks.