Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Native Build von Qt5 on Raspberry Pi 3 errors: 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).
Forum Updated to NodeBB v4.3 + New Features

Native Build von Qt5 on Raspberry Pi 3 errors: 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).

Scheduled Pinned Locked Moved Unsolved QtonPi
3 Posts 2 Posters 3.5k Views 1 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.
  • T Offline
    T Offline
    Tk25
    wrote on last edited by
    #1

    Hello everyone,
    I have created a GUI (with QtDesigner (Qt5) as external tool of PyCharm), and want to run on my Raspberry Pi 3. I've used this guide link text

    I get this error message:

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

    In my "output" file I have "FontConfig ............. No" instead of "FontConfig ............. Yes",

    I also have at

            pi@raspberrypi~/opt/qt5$ which qmake      
                          /usr/bin/qmake
    

    instead of

            pi@raspberrypi~/opt/qt5$ which qmake
                         /usr/local/qt5/bin/qmake
    

    I also have a full-screen GUI on my Raspberry Pi without font-text, although I did exactly the same.

    I need help please

    mrjjM 1 Reply Last reply
    0
    • T Tk25

      Hello everyone,
      I have created a GUI (with QtDesigner (Qt5) as external tool of PyCharm), and want to run on my Raspberry Pi 3. I've used this guide link text

      I get this error message:

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

      In my "output" file I have "FontConfig ............. No" instead of "FontConfig ............. Yes",

      I also have at

              pi@raspberrypi~/opt/qt5$ which qmake      
                            /usr/bin/qmake
      

      instead of

              pi@raspberrypi~/opt/qt5$ which qmake
                           /usr/local/qt5/bin/qmake
      

      I also have a full-screen GUI on my Raspberry Pi without font-text, although I did exactly the same.

      I need help please

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Tk25

      Hi
      Did you try to set the QT_QPA_EGLFS_PHYSICAL_WIDTH etc?

      http://stackoverflow.com/questions/18518280/raspberry-pi-qt5-set-physical-screen-size

      T 1 Reply Last reply
      0
      • mrjjM mrjj

        @Tk25

        Hi
        Did you try to set the QT_QPA_EGLFS_PHYSICAL_WIDTH etc?

        http://stackoverflow.com/questions/18518280/raspberry-pi-qt5-set-physical-screen-size

        T Offline
        T Offline
        Tk25
        wrote on last edited by
        #3

        @mrjj
        Hi
        thx for your reply, yes i try to set all QT_QPA_EGLFS_PHYSICAL_WIDTH = 194, QT_QPA_EGLFS_PHYSICAL_HEIGHT= 110
        QT_QPA_EGLFS_DEPTH= 20 (all im mm for 7" Touchscreem Display). But i'm still having the same problems.

        Does anyone have any other suggestions?

        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