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

QML Drag crashes because of QQmlEngine is NULL

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes