How to set DPI on imx8mq board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set DPI on imx8mq board

412 Views
coindu
Contributor IV

Hi:

         I want to know to how set DPI in linux 4.9.88_2.0.0 system. 

         a 10-inch screen to display weston desktop with lvds signal .Through a mipi to lvds IC.

         when run the qt5`s example I found the font size is very small .  I search the environment ,but not find the similar value such as export QWS_DISPLAY . Can anyone tell me how to set it.fron_size.jpg

Labels (1)
0 Kudos
1 Reply

339 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello coin,

export QT_EGLFS_NO_FB_MULTI_BUFFER=1
if it is 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)

Regards.

0 Kudos