Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to move widgets between screens
Forum Updated to NodeBB v4.3 + New Features

How to move widgets between screens

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 543 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.
  • S Offline
    S Offline
    SuperMonkeyRules
    wrote on last edited by
    #1

    I have compiled my QT program for raspberry pi and it works fine except I cant figure out how to use the move function on a window to move the window between the different displays I have connected to my pi.

    I create three different widgets which should show on three separate displays.

    It works fine on my windows machine so I assume its something to do with Raspbian's window manager?

    Thanks

    SGaistS 1 Reply Last reply
    0
    • S SuperMonkeyRules

      I have compiled my QT program for raspberry pi and it works fine except I cant figure out how to use the move function on a window to move the window between the different displays I have connected to my pi.

      I create three different widgets which should show on three separate displays.

      It works fine on my windows machine so I assume its something to do with Raspbian's window manager?

      Thanks

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Any chances you are using Wayland as display manager ?

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Any chances you are using Wayland as display manager ?

        S Offline
        S Offline
        SuperMonkeyRules
        wrote on last edited by
        #3

        @SGaist Yes

        JonBJ SGaistS 2 Replies Last reply
        0
        • S SuperMonkeyRules

          @SGaist Yes

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @SuperMonkeyRules
          Then @SGaist is likely to follow up with: "under Wayland the window manager is in control of all layout, including window positions", and does not let you interfere with that. At least with the current/standard compositor.

          1 Reply Last reply
          2
          • S SuperMonkeyRules

            @SGaist Yes

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @SuperMonkeyRules what @JonB said !

            But there might be some hope with QWindow::startSystemMove. See this StackOverflow thread. I haven't tested it yet though.

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

            S 1 Reply Last reply
            1
            • SGaistS SGaist

              @SuperMonkeyRules what @JonB said !

              But there might be some hope with QWindow::startSystemMove. See this StackOverflow thread. I haven't tested it yet though.

              S Offline
              S Offline
              SuperMonkeyRules
              wrote on last edited by
              #6

              @SGaist Thanks both of you.
              But Ive swapped to X11 and that fixed my problems.

              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