Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. how to show window border from a Qt widget on rpi?
Forum Updated to NodeBB v4.3 + New Features

how to show window border from a Qt widget on rpi?

Scheduled Pinned Locked Moved Unsolved QtonPi
6 Posts 2 Posters 2.2k Views 1 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.
  • linaL Offline
    linaL Offline
    lina
    wrote on last edited by lina
    #1

    Hi,
    I have problem with window border of qt GUI that executes on rpi. when the GUI starts, it removes minimize, maximize and close buttons of title bar. I don't set windowsflag Qt::CustomizeWindowHint but I don't see any border button on my gui. I use linuxfb plugin. how can I fix it?

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

      Hi,

      The linuxfb plugin doesn't provide windowing. If you want that either use the xcb plugin with an X server or the QtWayland module.

      Hope it helps

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

      linaL 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        The linuxfb plugin doesn't provide windowing. If you want that either use the xcb plugin with an X server or the QtWayland module.

        Hope it helps

        linaL Offline
        linaL Offline
        lina
        wrote on last edited by
        #3

        @SGaist
        Hi SGaist,
        thank you for your response, I used linuxfb plugin since when I wanted to compile qt for rpi, I got some errors from xcb. I couldn't fix it so I regarded it and I did compiling with no xcb. now I can't use xcb but I will try QtWayland module.

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

          Then the next question is: do you really need windowing in your application ?

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

          linaL 1 Reply Last reply
          0
          • SGaistS SGaist

            Then the next question is: do you really need windowing in your application ?

            linaL Offline
            linaL Offline
            lina
            wrote on last edited by
            #5

            @SGaist e

            yes, I should use it since I want to map this application on a product with touch screen. I can add a pushbutton for closing the application but since other users would like to have windowing for close or maximize/minimize the application, I should consider it :)
            I don't have any experience with QtWayland, does it need any installation or adding library for pi or qt?

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

              You have the Wayland Qt 5 page that can be of interest.

              One note about it: it's currently being updated. The old qtjsbackend dependency is not needed anymore but the update hasn't been pushed yet.

              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