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

Add a way to disable automatic scaling of QML on iOS Retina devices

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS

    Description

      When using Qt Quick on a iOS device, there's an automatic scaling of ~2x applied (depending on actual device the factor changes). In QML one operates always in logical pixels.

      However it would be nice to have a way to disable this behaviour and use device pixel sizes in QML. Reasons include

      • Designers want to use real pixels sizings, telling the developer "put the label at (200, 100)" in device pixels, one doesn't want the nonsense of using 200 * Screen.devicePixelRatio everywhere
      • Applications may want to manage HiDPI themselves

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes