Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.0
-
None
Description
Following the discovery of AnimatedImage.frameCount neither being CONSTANT nor NOTIFYable as reporetd in QTBUG-62913 I wrote a unit test that checks all registered types for a set of given QML modules:
- QtQml,
- QtQml.Models
- QtQuick
- QtQuick.Windows
- QtQuick.Dialogs
- QtQuick.Layouts
- QtQuick.Controls
- QtQuick.Templates
The affected properties and their defining types are
QtQml.Models/DelegateModel: QQmlDelegateModel::delegate QQmlDelegateModel::model QtQml.Models/ListModel: QQmlListModel::dynamicRoles QtQml/Binding: QQmlBind::delayed QQmlBind::property QQmlBind::target QQmlBind::value QQmlBind::when QtQml/Connections: QQmlConnections::ignoreUnknownSignals QtQml/LoggingCategory: QQmlLoggingCategory::name QtQuick.Window/Window: QQuickWindow::data QtQuick/AnchorAnimation: QQuickAnchorAnimation::targets QtQuick/AnchorChanges: QQuickAnchorChanges::target QtQuick/Behavior: QQuickBehavior::animation QtQuick/ColorAnimation: QQuickColorAnimation::from QQuickColorAnimation::to QtQuick/Flickable: QQuickFlickable::flickableChildren QQuickFlickable::flickableData QtQuick/Gradient: QQuickGradient::stops QtQuick/GradientStop: QQuickGradientStop::color QQuickGradientStop::position QtQuick/Item: QQuickItem::data QQuickItem::resources QQuickItem::states QQuickItem::transform QQuickItem::transformOriginPoint QQuickItem::transitions QtQuick/Keys: QQuickKeysAttached::forwardTo QtQuick/MultiPointTouchArea: QQuickMultiPointTouchArea::touchPoints QtQuick/NumberAnimation: QQuickNumberAnimation::from QQuickNumberAnimation::to QtQuick/Package: QQuickPackage::data QtQuick/ParentChange: QQuickParentChange::height QQuickParentChange::parent QQuickParentChange::rotation QQuickParentChange::scale QQuickParentChange::target QQuickParentChange::width QQuickParentChange::x QQuickParentChange::y QtQuick/Path: QQuickPath::pathElements QtQuick/Pinch: QQuickPinch::target QtQuick/PropertyAction: QQuickPropertyAction::exclude QQuickPropertyAction::targets QtQuick/PropertyAnimation: QQuickPropertyAnimation::exclude QQuickPropertyAnimation::targets QtQuick/PropertyChanges: QQuickPropertyChanges::explicit QQuickPropertyChanges::restoreEntryValues QQuickPropertyChanges::target QtQuick/Rectangle: QQuickRectangle::gradient QtQuick/RotationAnimation: QQuickRotationAnimation::from QQuickRotationAnimation::to QtQuick/ScriptAction: QQuickScriptAction::script QQuickScriptAction::scriptName QtQuick/SpringAnimation: QQuickSpringAnimation::damping QQuickSpringAnimation::epsilon QQuickSpringAnimation::spring QQuickSpringAnimation::velocity QtQuick/SpriteSequence: QQuickSpriteSequence::sprites QtQuick/State: QQuickState::changes QQuickState::extend QQuickState::name QQuickState::when QtQuick/StateChangeScript: QQuickStateChangeScript::name QQuickStateChangeScript::script QtQuick/StateGroup: QQuickStateGroup::states QQuickStateGroup::transitions QtQuick/Transition: QQuickTransition::animations QtQuick/Vector3dAnimation: QQuickVector3dAnimation::from QQuickVector3dAnimation::to
See the linked Gerrit change request for the test itself.
Additional to the output above it also reports properties of any base class in a second check.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-63120 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
205070,5 | Unit test to check for property requirements of registered QML types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
205411,3 | Add NOTIFY signals for QtQuick Animation classes to/from | 5.9 | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |
205651,3 | Add NOTIFY signals for QtQuick Animation classes to/from properties | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |