Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

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

    Installation and Deployment
    debian beaglebone blac qt5.5
    2
    10
    3044
    Loading More Posts
    • 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
      Zola last edited by

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

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • Z
          Zola @SGaist last edited by

          @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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • Z
              Zola last edited by Zola

              @SGaist i think by default x11 for arm

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 Reply Quote 0
                • Z
                  Zola @SGaist last edited by

                  @SGaist Sorry my mistake.

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    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 Reply Quote 0
                    • Z
                      Zola @SGaist last edited by

                      @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 Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        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 Reply Quote 0
                        • First post
                          Last post