Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2904

PySide6 does not support QQuickAttachedPropertyPropagator

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • None
    • PySide
    • None

    Description

      PySide6 seems to not support QQuickAttachedPropertyPropagator because using the following code results in an error:

      @QmlNamedElement("FluentUI") 
      @QmlAttached(FluentUI)
      class FluentUI(QQuickAttachedPropertyPropagator):

      However, if I write it in a split manner like this:

      @QmlAnonymous
      class FluentStyleAttached(QQuickAttachedPropertyPropagator):
      @QmlNamedElement("FluentUI")
      @QmlAttached(FluentStyleAttached) 

      The attachedParentChange method does not get triggered.

       

      How can I resolve this issue?

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            zhuzichu 朱 子楚
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes