Solved Giving up on QT - can't add modules
-
cat /proc/cpuinfo
gives you your CPU information. if your CPU is Intel or AMD and younger than 10 years, or if you have more than 4 GB RAM, it is most likely 64 bit. -
@mrjj said in Giving up on QT - can't add modules:
Here are the results:
CPU op-mode(s): 32-bit, 64-bit CPU(s): 2 On-line CPU(s) list: 0,1 CPU family: 6 Model name: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz CPU MHz: 2267.000 CPU max MHz: 2267.0000 CPU min MHz: 800.0000
I guess the script isn't running for other reasons.
-
@aha_1980 said in Giving up on QT - can't add modules:
cat /proc/cpuinfo
Results from cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz stepping : 6 microcode : 0x60f cpu MHz : 2266.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority dtherm bugs : bogomips : 4521.74 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz stepping : 6 microcode : 0x60f cpu MHz : 800.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority dtherm bugs : bogomips : 4521.74 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
Not sure how to read all of it but I see nothing that is 32 and lots that is 64.
-
@bandito: already a senior processor, but capable for a 64 bit operating system.
-
According to Intel the instruction set is 64 bit.
My processorAfter my research it seams that I have to use a 64 bit OS.
-
@bandito
Yep it can run a 64 bit OS.
It will make it easier as online installer will just work then.
While i do love apt-get, the online installer makes it really easy to add/remove modules
or try another version of Qt to test something. It can also update the current installation. -
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.