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

QML Drag crashes because of QQmlEngine is NULL

XMLWordPrintable

    • macOS, Windows
    • 234dbbf25567ce44a8c8e099d003f04a12f2b371 (qt/qtdeclarative/5.13)

      My application crashes when I try to drag an item with QML Drag and set its imageSource to the url of image controlled by an image provider. While the image is cached it works just fine, but when the image is not cached, QML tries to request it from the provider and crashes because internally the engine variable is NULL there.

      Please see the attached QML file that reproduces the problem a slightly different way, but the crash is exactly at the same place because of missed engine, not because of missed image provider.

        For Gerrit Dashboard: QTBUG-72045
        # Subject Branch Project Status CR V

            mitch_curtis Mitch Curtis
            appsforlife Vitaly Ovchinnikov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes