Solved Giving up on QT - can't add modules
-
Qt charts does not exist in old Qt versions, such like 5.6.
Install new version, for example, 5.9.2 from website is a good idea. -
Well I got qt and qtcharts installed. However I get this error message when I try to compile y project.
Could not find qmake spec 'default'. Error while parsing file /home/bandito/programming/etf-ipo/etf-ipo.pro. Giving up. Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment? Error while parsing file /home/bandito/programming/etf-ipo/etf-ipo.pro. Giving up.
-
@bandito
Hi
you did install c++ compiler ?
sudo apt-get install build-essential -
Ok.
I installed the build-essential. Not I get this error.
14:00:44: Could not determine which "make" command to run. Check the "make" step in the build configuration. Error while building/deploying project etf-ipo (kit: Desktop Qt 5.9.2 GCC 64bit) When executing step "qmake"
In Build & Run I added new CMake. I tried /usr/bin/make and then tried /usr/bin/qmake but neither corrected the problem.
-
@bandito
but do u have it ?
if you run
make in a shell, what happens ? -
@mrjj
user@computer:~$ make
make: *** No targets specified and no makefile found. Stop. -
Ok so you did get it.
Try to close creator. Open it again.
make a new default project and see if that can run.
It should just pick it up. -
@mrjj
Close qt, opened and made a new qt application. Still get the same error. -
@bandito
so even with qmake it dont find make ?
This is clean project. nothing added, done by you ?
no cmake or anything not standard? -
The only thing I did was change the project name to 'test'.
I didn't see a cmake file in usr/bin/
-
its just called make
not cmakeCan you check this
https://www.youtube.com/watch?v=unkGHMgffmI
He has same issue and go select in kits.
Maybe you need that too. -
@mrjj
It turns out that in the kits there was no gcc compiler chosen. Works now. Thanks -
Thanks to @Wieland for video and others helping a core 2 still do
good stuff :) -
@mrjj And I found out my CPU is 64 bit.
-
@bandito But you're running a 32bit Linux on it, right?
-
I was but now I am running 64 bit.