Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5, 6.8
-
None
-
-
49456f273 (dev), aa1220fcd (6.8), 7c59edda7 (tqtc/lts-6.5)
Description
When the SelectionRectangle is created following error is shown:
"QML SelectionRectangle: the assigned target is not supported by the control"
Looks like RTTI is not enabled in Android builds because dynamic_cast returns nullptr,
qquickselectionrectangle.cpp:
d->m_selectable = *dynamic_cast*<QQuickSelectable *>(QObjectPrivate::get(d->m_target.data())); if (!d->m_selectable) qmlWarning(this) << "the assigned target is not supported by the control";
Attachments
For Gerrit Dashboard: QTBUG-101159 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
606849,4 | QQuickSelectable: Fix selection in TableView and TreeView on Android | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
607223,2 | QQuickSelectable: Fix selection in TableView and TreeView on Android | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
607577,3 | QQuickSelectable: Fix selection in TableView and TreeView on Android | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |