Unsolved Err: Unable to query physical screen size,
-
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=480Thanks for help