Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4.0 FF
-
218eb5f571 (qt/qtdeclarative/dev) 218eb5f571 (qt/tqtc-qtdeclarative/dev) 4c62782c23 (qt/qtdeclarative/6.3) 4c62782c23 (qt/tqtc-qtdeclarative/6.3) 1c8d34e459 (qt/tqtc-qtdeclarative/6.2) 4c62782c23 (qt/qtdeclarative/6.3.2)
Description
Given a type structure like:
class Extension : public QObject { Q_OBJECT Q_PROPERTY(int extension READ extension WRITE setExtension NOTIFY extensionChangedWithValue FINAL) // ... }; class ExtendedNamespaceByObject : public QObject { Q_OBJECT QML_ELEMENT QML_EXTENDED_NAMESPACE(Extension) Q_PROPERTY(int extension READ extension WRITE setExtension NOTIFY extensionChanged) // ... };
one can observe a crash when attempting to create the ExtendedNamespaceByObject object in a QML setting:
import MyModule // contains ExtendedNamespaceByObject import QtQml ExtendedNamespaceByObject { extension: 10 }