Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to run Qt GUI app on boot under Debian - BeagleBone Black

How to run Qt GUI app on boot under Debian - BeagleBone Black

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
debianbeaglebone blacqt5.5
10 Posts 2 Posters 3.6k Views
  • 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.
  • Z Offline
    Z Offline
    Zola
    wrote on last edited by
    #1

    How to run Qt GUI based application imeddiately after system is boot? I tried with init.d but not successful.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What backend are you using ? What error are you getting ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Z 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What backend are you using ? What error are you getting ?

        Z Offline
        Z Offline
        Zola
        wrote on last edited by
        #3

        @SGaist I just don't know hot to launch it on system boot. I tried with this , but app won't run on boot. Are there any other alternatives to run Qt app? I am using core, gui and widgets module in my app.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Again: what backend are you using ? xcb ? eglfs ?

          The init script is the right method even though this one is very simplified. IIRC, you should find a more complete skeleton of it in /etc/init.d

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zola
            wrote on last edited by Zola
            #5

            @SGaist i think by default x11 for arm

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              The BeagleBoneBlack uses an ARM processor

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              Z 1 Reply Last reply
              0
              • SGaistS SGaist

                The BeagleBoneBlack uses an ARM processor

                Z Offline
                Z Offline
                Zola
                wrote on last edited by
                #7

                @SGaist Sorry my mistake.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Do you have a Xorg server running on your board ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Z 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Do you have a Xorg server running on your board ?

                    Z Offline
                    Z Offline
                    Zola
                    wrote on last edited by
                    #9

                    @SGaist Yes, I think the reason init.d don't work, is because Xorg is not yet launched and I am trying to run GUI application which requires X server to work. Am I right?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Then you have to ensure that your application is run after Xorg is started. By the way, do you really need an Xorg server (outside the fact that you are using the xcb plugin) ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0

                      • Login

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