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

Glow graphical effect has no property "samples"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.0
    • None

    Description

      This sample from Glow graphical effect documentation in Qt 6.2.0 doesn't work.

      Qt Creator shows inline error for it:

      Invalid property name "samples". (M16)
      

      And the application fails to run, outputting the following error:

      Cannot assign to non-existent property "samples"
      

      pointing to this line:

      layer.effect: Glow {
          samples: 15 // here's the problem
          radius: 100
          color: "blue"
          transparentBorder: true
      }
      

      In Qt 5.15.2 samples was a valid property. So either this is a bug in the Glow implementation in 6.2.0, or it's a documentation issue.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            artemsyd Artem Sidyakin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes