[Interest] A bug in Qt 5.3.1 for Android?

Ben Lau xbenlau at gmail.com
Tue Jul 1 08:39:53 CEST 2014


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.zakharov at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140701/49a426fe/attachment.html>


More information about the Interest mailing list