Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt on stm32 or linux based device?
Forum Updated to NodeBB v4.3 + New Features

Qt on stm32 or linux based device?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 5 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    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
    https://www.youtube.com/watch?v=1ySTyBz2F0k
    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?

    Regards.

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    jsulmJ 1 Reply Last reply
    0
    • tomasz3dkT Offline
      tomasz3dkT Offline
      tomasz3dk
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • mrdebugM mrdebug

        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
        https://www.youtube.com/watch?v=1ySTyBz2F0k
        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?

        Regards.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @mrdebug said in Qt on stm32 or linux based device?:

        stm32

        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.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        J.HilkJ 1 Reply Last reply
        0
        • jsulmJ jsulm

          @mrdebug said in Qt on stm32 or linux based device?:

          stm32

          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.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @jsulm yes and no,

          https://resources.qt.io/development-topic-internet-of-things/qt-on-microcontrollers-scale-down-to-under-16mb-ram-rom-showcase

          But its still early stages and you would defenitly need consulting from the Qt Company itself.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          3
          • Cleiton BuenoC Offline
            Cleiton BuenoC Offline
            Cleiton Bueno
            wrote on last edited by
            #5

            It's possible with Linux, see:
            https://www.youtube.com/watch?v=vm3Gp9KEs1w

            Search for videos about fastboot Linux, Fastboot Qt.


            Cleiton Bueno

            Blog | Linkedin | B2Open

            1 Reply Last reply
            0
            • Cleiton BuenoC Offline
              Cleiton BuenoC Offline
              Cleiton Bueno
              wrote on last edited by
              #6

              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:

              1. If you can use Commercial version and qtquickcompiler and static compilation better
              2. File System on Linux, test according to your hardware and remove support from what you will not use
              3. Using eMMC for example is "faster" than boot via microSD / SD
              4. Remove unnecessary resources or used during debugging of the Linux Kernel
              5. Remove unnecessary resources or used during bootloader development
              6. It depends on the hardware but test and validate the use of: MTD with UbiFS, use initramFS and some other alternatives
              7. Boot system there are some, but usually systemd if you get a better job for getting parallelism to start the services
              8. 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:
              http://blog.qt.io/blog/2016/04/20/fast-booting-qt-devices-part-1-automotive-instrument-cluster/
              http://blog.qt.io/blog/2016/04/27/fast-booting-qt-devices-part-2-optimizing-qt-application/


              Cleiton Bueno

              Blog | Linkedin | B2Open

              1 Reply Last reply
              2

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved