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. Qt5.2 Raspberry, how to switch framebuffer ?
Forum Update on Monday, May 27th 2025

Qt5.2 Raspberry, how to switch framebuffer ?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 4.3k 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.
  • P Offline
    P Offline
    plazma
    wrote on last edited by
    #1

    Hi,
    I have installed 320x240 TFT screen on my RPI. The screen configured as /dev/fb1.
    By running
    FRAMEBUFFER=/dev/fb0 startx
    or
    FRAMEBUFFER=/dev/fb1 startx
    I can get X-Window on HDMI screen or 320x240 TFT screen.
    Qt5.2 application is running on HDMI screen only.
    I tried with no success -
    ./myapp -display Linuxfb:/dev/fb1:enable=1
    ./myapp -display directfb:/dev/fb1:2

    How to switch Qt5.2 application to /dev/fb1 ?
    Please help.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      agocs
      wrote on last edited by
      #2

      ./myapp -platform linuxfb:fb=/dev/fb1

      1 Reply Last reply
      0
      • P Offline
        P Offline
        plazma
        wrote on last edited by
        #3

        thank you. It works.

        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