Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.0
-
None
Description
14:59:37: Starting /home/mitch/dev/qt-dev2-debug/qtquickcontrols2/tests/auto/controls/default/tst_default -input /home/mitch/dev/qt-dev2/qtquickcontrols2/tests/auto/controls/data/tst_buttongroup.qml... file:///home/mitch/dev/qt-dev2/qtquickcontrols2/tests/auto/controls/data/tst_buttongroup.qml:250:13: Type CheckBox unavailable property CheckBox control1: CheckBox { ButtonGroup.group: group } ^ file:///home/mitch/dev/qt-dev2-debug/qtbase/qml/QtQuick/Controls/Default/CheckBox.qml:87:9: "CheckLabel.rightPadding" is not available in QtQuick.Controls.impl 255.255. rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0
Steps to reproduce:
- Checkout https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/297488/60/
- Run the default test with -input /home/mitch/dev/qt-dev2/qtquickcontrols2/tests/auto/controls/data/tst_buttongroup.qml
CheckLabel is QQuickCheckLabel, which is derived from QQuickText, where rightPadding is declared as:
Q_PROPERTY(qreal rightPadding READ rightPadding WRITE setRightPadding RESET resetRightPadding NOTIFY rightPaddingChanged REVISION(2, 6))
I'm using the latest version of Qt Quick by not specifying a version, so it should just work:
Attachments
Issue Links
- is required for
-
QTBUG-82922 Register types declaratively
- Closed