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

Qt 6: Use qreal in QtWidgets drawing/styles code

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      All

    • Technical Risk:
      Normal

      Description

      See QTBUG-40277 QTBUG-41102 QTBUG-49374 QTBUG-46615

      All styles are currently subject to rounding errors for small items (frames, etc) when High DPI scaling is in effect. Ideally, all styles code (metrics, drawing) should use qreal instead of int.

      This might affect the planned source code compatibility of Qt 6, though.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-58611
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              kleint Friedemann Kleint
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes