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

devicePixelRatio on Android is not read from the system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.3.0 Beta1
    • QPA
    • None
    • Android

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes