Qt on stm32 or linux based device?
Hi. We need to bring up a low cost device with a touch screen display for building automation. The device must to start up in less then 2 seconds.
We don't know if a Linux based device can switch on in 2 seconds, if you know one please write here wchich it is.
After having watched this video
we have search for a tutorial to install a Qt application in a stm32 device but we hav found nothing.
Can someone suggest a tutorial to follow in order to use Qt on a stm32 device?
It is possible to switch on in 2 seconds by Linux based device w Qt app, there are many videos on youtube showing that it's possible, but it requires some work. Maybe boot2Qt can do that out of box acctually i don't know if it can. Regarding to run Qt on STM32 it's in very early stage and probably you must ask Qt Company directly about this.
this is a microcontroller and doesn't run an operating system, right? If so, then I think you can't use Qt on it as it requires an OS.
@jsulm yes and no,
But its still early stages and you would defenitly need consulting from the Qt Company itself.
It's possible with Linux, see:
Search for videos about fastboot Linux, Fastboot Qt.
Even today we are in a project that demands to be Fastboot, our goal is 3s for this project.
Some things should be done for a Fastboot, for example:
- If you can use Commercial version and qtquickcompiler and static compilation better
- File System on Linux, test according to your hardware and remove support from what you will not use
- Using eMMC for example is "faster" than boot via microSD / SD
- Remove unnecessary resources or used during debugging of the Linux Kernel
- Remove unnecessary resources or used during bootloader development
- It depends on the hardware but test and validate the use of: MTD with UbiFS, use initramFS and some other alternatives
- Boot system there are some, but usually systemd if you get a better job for getting parallelism to start the services
- In the Qt application too, as images to be loaded use asynchronous loading, use "Lazy Load" for the first screen that would be SplashScreen
There is a general job to do, but if you get the boot you want.
Links that may help: