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

Fix declarative-camera example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 RC
    • 6.2.0 Beta1
    • Multimedia
    • None
    • Windows

    Description

      examples/multimedia/declarative-camera has multiple issues:

      • declarative-camera.qml uses "MediaEncoder". This got renamed to "MediaRecorder" in the API review
      • VideoPreview.qml uses MediaPlayer.autoPlay, which got removed in the API review
      • After fixing these, there are more runtime issues:
        qrc:/CameraListButton.qml:60: TypeError: Cannot read property 'length' of undefined
        qrc:/CameraListButton.qml:70: TypeError: Cannot read property 'description' of undefined
        qrc:/CameraListPopup.qml:58: TypeError: Cannot read property '0' of undefined
        qrc:/VideoCaptureControls.qml:84: ReferenceError: MediaEncoder is not defined
        qrc:/VideoCaptureControls.qml:91: ReferenceError: MediaEncoder is not defined
        qrc:/CameraListButton.qml:60: TypeError: Cannot read property 'length' of undefined
        qrc:/CameraListButton.qml:70: TypeError: Cannot read property 'description' of undefined
        qrc:/CameraListPopup.qml:58: TypeError: Cannot read property '0' of undefined
        

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes