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

No antialiasing with QPainter on iOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.7.0 RC
    • 5.2.0 Beta1 , 5.2.0 RC1, 5.2.0, 5.3.0 RC1, 5.3.0
    • GUI: Painting
    • Developed on OS X 10.8.5 with Xcode 4.6.3.
      Deployed to an iPad 1 with iOS 5.1.1 and an iPhone 5 with iOS 6.1.4.
    • iOS/tvOS/watchOS

      On iOS (tested on 5.1.1 and 6.1.4), QGraphicsItem objects are drawn without antialiasing no matter what flags are chosen for the QGraphicsView object. This can be reproduced by creating a QGraphicsView, a QGraphicsScene and adding an ellipse or any custom drawn QGraphicsItem to the scene.

      QGraphicsSvgItem objects are antialiased but their resolution isn't adjusted for Retina screens.

      This is actually a general problem with antialiasing since it is not working with a simple QPainter case either, example attached shows that this is not antialiased at all. This seems to be because OpenGL ES 2 is being used which does not turn on GL_MULTISAMPLE.

        1. main.cpp
          0.7 kB
        2. concentriccircles.7z
          7 kB
        For Gerrit Dashboard: QTBUG-35271
        # Subject Branch Project Status CR V

            vestbo Tor Arne Vestbø
            wyrmhole Bernardo Ambiti
            Votes:
            7 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes