Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Running Qt apps on raspberry pi with window manager
QtWS25 Last Chance

Running Qt apps on raspberry pi with window manager

Scheduled Pinned Locked Moved Solved General and Desktop
raspberry eglfs
6 Posts 2 Posters 2.2k 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.
  • B Offline
    B Offline
    Bremenpl
    wrote on 29 Oct 2016, 15:33 last edited by
    #1

    Hello there,
    I have succesfully followed this great guide on how to crosscompile qt apps for raspberry pi and run them with own frame buffer:
    https://wiki.qt.io/RaspberryPi2EGLFS

    In the end however I have come to a conclusion that I need that window manager... But the apps only run in windowless form. Is it possible to somehow tell the app (by a flag/ parameter maybe) NOT to run with own framebuffer, but use the available window manager? I would really appreciate all help.

    lprzenioslo.zut.edu.pl

    1 Reply Last reply
    0
    • S SGaist
      29 Oct 2016, 20:33

      Hi,

      What window manager will you be using ? Xorg ? Wayland ? In both cases you need to build their respective platform plugin and tell your application at startup which one to use.

      B Offline
      B Offline
      Bremenpl
      wrote on 30 Oct 2016, 10:52 last edited by
      #3

      @SGaist Hi, thank you for answer. The application started to use the window manager after I called it with a parameter " -platform xcb"

      lprzenioslo.zut.edu.pl

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 29 Oct 2016, 20:33 last edited by
        #2

        Hi,

        What window manager will you be using ? Xorg ? Wayland ? In both cases you need to build their respective platform plugin and tell your application at startup which one to use.

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

        B 1 Reply Last reply 30 Oct 2016, 10:52
        1
        • S SGaist
          29 Oct 2016, 20:33

          Hi,

          What window manager will you be using ? Xorg ? Wayland ? In both cases you need to build their respective platform plugin and tell your application at startup which one to use.

          B Offline
          B Offline
          Bremenpl
          wrote on 30 Oct 2016, 10:52 last edited by
          #3

          @SGaist Hi, thank you for answer. The application started to use the window manager after I called it with a parameter " -platform xcb"

          lprzenioslo.zut.edu.pl

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 30 Oct 2016, 16:33 last edited by
            #4

            Ok so you are using Xorg.

            If I understand correctly, its working as it should now ?

            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
            • B Offline
              B Offline
              Bremenpl
              wrote on 30 Oct 2016, 16:36 last edited by
              #5

              Thats right, thank you.

              lprzenioslo.zut.edu.pl

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 30 Oct 2016, 16:38 last edited by
                #6

                Great !

                Happy coding :)

                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

                6/6

                30 Oct 2016, 16:38

                • Login

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