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. Err: Unable to query physical screen size,
Forum Updated to NodeBB v4.3 + New Features

Err: Unable to query physical screen size,

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

    When I cross compile and run Qt on my Raspberry I got this error:

    Unable to query physical screen size, defaulting to 100 dpi.
    To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

    I set these environment variables in my ~/.bashsrc like this but still got same error

    QT_QPA_EGLFS_PHYSICAL_WIDTH=154
    QT_QPA_EGLFS_PHYSICAL_HEIGHT=86
    QT_QPA_EGLFS_WIDTH=800
    QT_QPA_EGLFS_HEIGHT=480

    Thanks for help

    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