Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.2.1
-
None
-
Windows 7 64-bit MingW 32
Description
When a custom attaching object also inherits QQmlParserStatus and implements the required "classBegin" and "classComplete" methods, I find that these methods do not get called when the attached object is created because of a usage like this:
Rectangle {
MyAttachingType.myAttachedProperty: "myAttachedPropertyValue"
}
Is this because the QML engine is not responsible for the creation of the attaching object because it is done in the qmlAttachedProperties function? e.g.
MyAttachingObject *MyAttachingType::qmlAttachedProperties(QObject *object)
{
return newMyAttachingObject(object);
}
Attachments
Issue Links
- relates to
-
QTBUG-122705 Drag.imageSource property should have hi-dpi support
- Closed