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

No antialiasing with QPainter on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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.

      Attachments

        1. concentriccircles.7z
          7 kB
        2. main.cpp
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes