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

WASM: build doesn't seem to support high-dpi

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.13.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      WebAssembly

      Description

      When building an application with the webassembly target, the rendering on high DPI screens is quite blury by default - while the build of the same application with  classical targets like desktop or ios are rendered with sharp edges.

      I tried to add some scaling magic to the HTML canvas, but that didn't help. From the view of portability, shouldn't `QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);` be sufficient? What has to be done to make the application look crispy in the web view, too?

        Attachments

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

          Activity

            People

            • Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              cajus Cajus Pollmeier
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes