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

No antialiasing for QML Shape

    XMLWordPrintable

Details

    • Bug
    • Resolution: Moved
    • P2: Important
    • None
    • 6.4.1, 6.4.3
    • Quick: Shapes
    • None
    • Windows

    Description

      QML Shapes don't get any antialiasing love. Which makes them look nearly unusably bad from my perspective.

      Minimal example:

      import QtQuick
      import QtQuick.Shapes
      
       Item {
          Rectangle {
              anchors.fill: parent
              anchors.margins: 5
              radius: 5
              border.width: 2
      
              Shape {
                  anchors.fill: parent
      
                  //Sadly no visible effect:
                  antialiasing: true
                  smooth: true
      
                  ShapePath {
                      strokeWidth: 3
                      strokeColor: "black"
                      strokeStyle: ShapePath.SolidLine
                      startX: 0
                      startY: 20
                      PathLine {
                          x: 500
                          y: 50
                      }
                  }
              }
          }
      }

      Produces:

      While the Rectangle next to it works fine.

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              radulf Frek Bauman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes