Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101159

SelectionRectangle does work with TableView in Android

    XMLWordPrintable

Details

    • Android
    • 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

        Activity

          People

            mhqanbari MohammadHossein Qanbari
            teemu.holappa Teemu Holappa
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes