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
Forum Updated to NodeBB v4.3 + New Features

Running Qt apps on raspberry pi with window manager

Scheduled Pinned Locked Moved Solved General and Desktop
raspberry eglfs
6 Posts 2 Posters 2.3k 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.
  • B Offline
    B Offline
    Bremenpl
    wrote on 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
    • SGaistS SGaist

      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 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
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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
        1
        • SGaistS SGaist

          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 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
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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 last edited by
              #5

              Thats right, thank you.

              lprzenioslo.zut.edu.pl

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on 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

                • Login

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