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
Forum Updated to NodeBB v4.3 + New Features

Platform plugins for embedded linux devices - EGLFS

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 965 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.
  • E Offline
    E Offline
    embdev
    wrote on 5 Oct 2016, 02:13 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 ... ... > ?

    J 1 Reply Last reply 5 Oct 2016, 04:42
    0
    • E embdev
      5 Oct 2016, 02:13

      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 ... ... > ?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 5 Oct 2016, 04:42 last edited by jsulm 10 May 2016, 04:44
      #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

      2/2

      5 Oct 2016, 04:42

      • Login

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