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

QML Camera crash in QuickWidget or QuickView container on Android

    XMLWordPrintable

Details

    • Android

    Description

      Given: QML Camera component with viewfinder in QQuickWidget container on Android / Qt 5.4.0 beta.

      Crash: When the quickwidget container is deleted the app crashes. My guess is that the camera’s viewfinder still has a thread running which does not get terminated properly before the container deletes the qml engine.

      Note: The same crash happens with a QuickView container instead of a QuickWidget container both in Qt 5.4 beta and Qt 5.3.

      Related Bug: The QuickWidget is not displayed properly with Qt 5.4. It is occluded by the main window even though the main window is set to be hidden.

      I prepared a test case which is attached to this bug report as a zip archive.

      I also prepared a page with a detailed description of the problem with error logs and screen shots here:

      http://open-terrain.org/index.php/Pong/October20th2014Qt54BetaTesting

      Attachments

        1. camcrash.zip
          3 kB
          Stefan Roettger

        Issue Links

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

          Activity

            People

              stromme Christian
              roettger Stefan Roettger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes