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

devicePixelRatio on Android is not read from the system

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.3.0 Beta1
    • QPA
    • None
    • 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

              tvete Paul Olav Tvete
              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