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

Fix declarative-camera example

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta1
    • Fix Version/s: 6.2.0 RC
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            laknoll Lars Knoll
            Reporter:
            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