Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt::AA_EnableHighDpiScaling stopped working in 5.13.0?

Qt::AA_EnableHighDpiScaling stopped working in 5.13.0?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 857 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by
    #1

    My application stopped using high dpi pixmaps in QWidget and antialiasing in QGraphicsView after upgrading to Qt-5.13.0. Qt::AA_EnableHighDpiScaling seemed to work in the past, but has no effect now, even though I am setting it prior to QApplication creation. Antialiasing in QtQuick seems to work fine.

    https://alaskafamilysystems.com/

    P 1 Reply Last reply
    0
    • P patrickkidd

      My application stopped using high dpi pixmaps in QWidget and antialiasing in QGraphicsView after upgrading to Qt-5.13.0. Qt::AA_EnableHighDpiScaling seemed to work in the past, but has no effect now, even though I am setting it prior to QApplication creation. Antialiasing in QtQuick seems to work fine.

      P Offline
      P Offline
      patrickkidd
      wrote on last edited by patrickkidd
      #2

      Pixmaps are rendered with low dpi and QGraphicsView antialiasing quality has drastically reduced on High-DPI displays and disappeared all together on Low-DPI displays.

      First screenshot is from low-dpi display and second is from high-dpi (Apple retina) display. Pixmaps should be very sharp, QGraphicsView paths should be high-quality antialiased.

      0_1564332152899_Screen Shot 2019-07-28 at 8.35.05 AM.png 0_1564332159537_Screen Shot 2019-07-28 at 8.39.50 AM.png

      https://alaskafamilysystems.com/

      jsulmJ 1 Reply Last reply
      0
      • P patrickkidd

        Pixmaps are rendered with low dpi and QGraphicsView antialiasing quality has drastically reduced on High-DPI displays and disappeared all together on Low-DPI displays.

        First screenshot is from low-dpi display and second is from high-dpi (Apple retina) display. Pixmaps should be very sharp, QGraphicsView paths should be high-quality antialiased.

        0_1564332152899_Screen Shot 2019-07-28 at 8.35.05 AM.png 0_1564332159537_Screen Shot 2019-07-28 at 8.39.50 AM.png

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @patrickkidd May be this works: https://doc.qt.io/qt-5/qgraphicsview.html#renderHints-prop ?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        P 1 Reply Last reply
        0
        • jsulmJ jsulm

          @patrickkidd May be this works: https://doc.qt.io/qt-5/qgraphicsview.html#renderHints-prop ?

          P Offline
          P Offline
          patrickkidd
          wrote on last edited by
          #4

          @jsulm said in Qt::AA_EnableHighDpiScaling stopped working in 5.13.0?:

          @patrickkidd May be this works: https://doc.qt.io/qt-5/qgraphicsview.html#renderHints-prop ?

          Thanks for the idea, though I'm already doing that, and it wouldn't account for the low-dpi pixmap rendering.

          https://alaskafamilysystems.com/

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved