Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38250

devicePixelRatio on Android is not read from the system

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.0 Beta1
    • Fix Version/s: None
    • Component/s: QPA: Other
    • Labels:
      None
    • Platform/s:
      Android

      Description

      On iOS and OSX we our devicePixelRatio() getters return 2.0 in the case of Retina displays. Also on Android, some devices have a of ration != 1, but Qt would always return 1, there.

      Here is a list of some ratios: http://www.devicepixelratio.com/

      Anyway, IMHO currently it is even good that we always get 1 as result, since there is currently no way to set the devicePixelRatio via API.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                tvete Paul Olav Tvete
                Reporter:
                portale Alessandro Portale
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes