My testing result: Qt 5.3.0 + Nexus 5 (4.4.2) primaryScreen()->physicalDotsPerInch() 443.934 Qt 5.3.0 + Samsung Galaxy Note 2 primaryScreen()->physicalDotsPerInch() 264.903
Qt 5.3.1 + Nexus 5 (4.4.2) primaryScreen()->physicalDotsPerInch() 453.754 Qt 5.3.1 + Samsung Galaxy Note 2 primaryScreen()->physicalDotsPerInch() 270.284 Although it don't return infinity , Qt 5.3.1 produces value different than 5.3.0 btw , I got another issue after upgraded to Qt 5.3.1 on Android.. Seem that there has some large changes from 5.3.0 to 5.3.1 [#QTBUG-39977] Full screen mode do not work correctly on Nexus 5 v4.4.2 - Qt Bug Tracker <https://bugreports.qt-project.org/browse/QTBUG-39977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-249119> On 1 July 2014 14:19, Alexander Zakharov <alexander.v.zakha...@gmail.com> wrote: > After upgrading from Qt 5.3.0 to Qt 5.3.1 I have found that the > QScreen::physicalDotsPerInch function called for the primary screen (as > qApp->primaryScreen()->physicalDotsPerInch()) in an Android application > always yields infinity (tested in emulator (x86) and on Samsung Galaxy > Tab 2 tablet). It worked properly, producing reasonable values, in Qt > 5.2.0, 5.2.1 and 5.3.0, at least on these devices. Is anybody else > experiencing the same problem? > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest