Why Qt taking long time to building the project?
-
@Wasee said in Why Qt taking long time to building the project?:
its taking a long time to build why?
You should provide more information:
- How big is the application (lines of code)?
- What platform, compiler and Qt version?
Also, did you enable parallel build? Either use ninja instead of make or add "-j NUMBER_OF_CORES" to your build settings to tell make to do as many parallel builds as your CPU has cores (replace NUMBER_OF_CORES with the number of cores in your CPU).
-
@Wasee said in Why Qt taking long time to building the project?:
Platform Arm A-9, Compiler GCC, and Qt5.
Well, seems to be rather slow hardware.
Did you try what I suggested? -
@Wasee In QtCreator (I assume you build in QtCreator): on the right side "Projects/Build&Run/Build/Build Steps". Do you see "make -j..." in Make step there?
You still don't provide much information:
- How many cores does the CPU have?
- How much RAM does the machine have?
- Qt5 is quite fuzzy as there are many Qt5 versions
- Also GCC is fuzzy, as there are many different versions
Don't expect same performance from an ARM device (except it is Apple silicon :-)) as from your PC/Laptop.
-
@jsulm @JonB Hi;
Architecture: ARMv7
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
total used free shared buff/cache available
Mem: 1.0G 480M 524M 10M 40M 224M
Swap: 0B 0B 0B
Qt Version:5.2.1
GCC version:arm-linux-gnueabihf-gccthanks
-
Hi everyone;
I build the project successfully. But I am facing the problem with running the application. When I login the application then it does not open and gives an error.
ASSERT failure in QList<T>:: at: "index out of range", file /usr/include/qt5/QtCore/qlitst.h/ line 472
The program has been unexpectedly finished.thanks
-
@Wasee Answered here: https://forum.qt.io/topic/132513/run-bash-script-from-qt/10
Please learn to ask proper question providing needed information/code...