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. Platform plugins for embedded linux devices - EGLFS
QtWS25 Last Chance

Platform plugins for embedded linux devices - EGLFS

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

    Hi all, does any one understands from the document:

    Abstract from Qt for embedded Linux - Qt5.7:

    ... If necessary, eglfs can be configured using the following environment variables:
    QT_QPA_EGLFS_FB - Overrides the framebuffer device. The default is /dev/fb0. On most embedded platforms this is not very relevant because the framebuffer is used only for querying settings like the display dimensions. On certain devices however, this parameter provides the ability to specify the display to be used in multiple display setups, similarly to the fb parameter in LinuxFB. ...
    
    

    Where do I set this environment variable if I need it? is it something like typing in host PC terminal like this:
    ./configure -QT_QPA_EGLFS_FB -<other parameters etc ... ... > ?

    jsulmJ 1 Reply Last reply
    0
    • embdevE embdev

      Hi all, does any one understands from the document:

      Abstract from Qt for embedded Linux - Qt5.7:

      ... If necessary, eglfs can be configured using the following environment variables:
      QT_QPA_EGLFS_FB - Overrides the framebuffer device. The default is /dev/fb0. On most embedded platforms this is not very relevant because the framebuffer is used only for querying settings like the display dimensions. On certain devices however, this parameter provides the ability to specify the display to be used in multiple display setups, similarly to the fb parameter in LinuxFB. ...
      
      

      Where do I set this environment variable if I need it? is it something like typing in host PC terminal like this:
      ./configure -QT_QPA_EGLFS_FB -<other parameters etc ... ... > ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @embdev No, not like this. Those are environment variables. They are set in the shell (on Linux usually Bash).
      You can simply set them in the terminal before calling configure:

      QT_QPA_EGLFS_FB=VALUE
      ./configure ...
      

      You can see all currently set variables and their values calling env in the terminal.
      Take a look at https://www.digitalocean.com/community/tutorials/how-to-read-and-set-environmental-and-shell-variables-on-a-linux-vps

      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