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

QtQuickControls.TextField crashes on BB10

    XMLWordPrintable

Details

    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

            vminenko Vladimir Minenko
            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