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. Dual display output with linuxfb
Forum Updated to NodeBB v4.3 + New Features

Dual display output with linuxfb

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 1.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.
  • M Offline
    M Offline
    meanwhile
    wrote on last edited by
    #1

    Hello.

    My Qt Version is Qt 5.10.1, and target OS is embedded Linux. I'm finding how to use multi-screen with Qt5, exactly I want make screen output to framebuffer directly.

    As you know, linuxfb platform can use variable framebuffer via option 'fb'. (ex ./animatedtiles -platform linuxfb:fb=/dev/fb1)
    But I cannot find how to use multi-framebuffer with linuxfb.

    I found some example using multi framebuffer with 'qws' in Qt4, so i thought Qt5 also may have similar way.

    Is there some way using multi framebuffer via linuxfb?
    If not, can you tell me some other way using multi-screen?

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

      Hi and welcome to devnet,

      Can you explain your use of multiple screens ?

      If you need window management, you will likely have to take a look at the QtWayland module.

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

      M 1 Reply Last reply
      0
      • M Offline
        M Offline
        meanwhile
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          Can you explain your use of multiple screens ?

          If you need window management, you will likely have to take a look at the QtWayland module.

          M Offline
          M Offline
          meanwhile
          wrote on last edited by
          #4

          @SGaist Hello. Thanks for reply.

          Well, Xorg is already running on my system. I dont know how QtWayland works exactly, but I'll check it as your advice. thank you.

          And about detail about my multi-screen environment, My embedded system connected to LCD and HDMI provided as /dev/fb0, /dev/fb1. so, I want print my Qt App screen to them each at once, in other words, I wanna works like "Mirror Mode".

          So, I'm tried commands like below.

          $ ./qtapp -platform linuxfb:fb=/dev/fb0:fb=/dev/fb1
          $ ./qtapp -platform linuxfb:fb=/dev/fb0 linuxfb:fb=/dev/fb1
          ( ... )

          I think they show my purpose clearly, although It looks like stupid..

          I hope this reply answers your questions.
          Thank you.

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

            Well, if you have Xorg, why not use it in mirror mode ?
            Doing so you won't have anything special to do from 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

            1 Reply Last reply
            1

            • Login

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