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

QtQuickControls.TextField crashes on BB10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Won't Do
    • Affects Version/s: 5.6
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Qt dev on BlackBerry 10.3.1

      Description

      Creating a TextField on BlackBerry 10 causes the app to crash with the following message

      Process 376930558 (qmltest) terminated SIGSEGV code=1 fltno=11 ip=783a229c(/apps/com.example.qmltest.testDev_mltestea38f525/native/runtime/qt/lib/libQt5Qml.so.5@_ZNK17QQmlVMEMetaObject11aliasTargetEiPP7QObjectPiS3_+0x4f) mapaddr=0019929c. ref=fbf32764 bdslot=1
      

      It seems the

      property alias delegate: handle.sourceComponent

      in the TextHandle.qml confuses it. Replacing it by

      property Component delegate
      sourceComponent: delegate
      

      which obviously isn't optimal, makes the crash go away.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vminenko Vladimir Minenko
            Reporter:
            broulik Kai Uwe Broulik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes