Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.5.0
-
None
Description
When using Qt 6.5 on Android, the QScreen physicalSize() return the size of the screen in pixel instead of the size in millimeter, like before. The result is that we can't compute screen diagonal anymore.
Qt 6.5
UtilsScreen::printScreenInfos() - screen size() QSize(393, 775) - screen geometry (dpi corrected) QSize(1081, 2131) - screen dpi 8.82759 - screen dpi 72 - screen pixel ratio 2.75 X screen size (physical, mm) QSizeF(1080, 2340) - screen size (diagonal in inches) 101.465
Qt 6.4
UtilsScreen::printScreenInfos() - screen size() QSize(393, 851) - screen geometry (dpi corrected) QSize(1081, 2340) - screen dpi (physical) 149.03 - screen dpi (logical) 72 - screen pixel ratio 2.75 > screen size (physical, mm) QSizeF(67, 145) - screen size (diagonal, inches) 6.28862