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
QtWS25 Last Chance

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 24 Dec 2015, 12:11 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Dec 2015, 23:56 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 25 Dec 2015, 07:21
      0
      • S SGaist
        24 Dec 2015, 23:56

        Hi,

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

        Z Offline
        Z Offline
        Zola
        wrote on 25 Dec 2015, 07:21 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 25 Dec 2015, 22:37 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 28 Dec 2015, 07:35 last edited by Zola
            #5

            @SGaist i think by default x11 for arm

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 28 Dec 2015, 22:47 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 29 Dec 2015, 10:29
              0
              • S SGaist
                28 Dec 2015, 22:47

                The BeagleBoneBlack uses an ARM processor

                Z Offline
                Z Offline
                Zola
                wrote on 29 Dec 2015, 10:29 last edited by
                #7

                @SGaist Sorry my mistake.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 29 Dec 2015, 22:05 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 30 Dec 2015, 07:20
                  0
                  • S SGaist
                    29 Dec 2015, 22:05

                    Do you have a Xorg server running on your board ?

                    Z Offline
                    Z Offline
                    Zola
                    wrote on 30 Dec 2015, 07:20 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
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 30 Dec 2015, 20:47 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

                      3/10

                      25 Dec 2015, 07:21

                      topic:navigator.unread, 7
                      • Login

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