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

Windows: quickmultimediaplugin.dll missing system dependency forces app to exit

    XMLWordPrintable

Details

    • Windows

    Description

      On some systems, such as Windows 10 Home N, where Windows Media Feature Pack is not preinstalled, a Qt app using QtMultimedia QML module will exit on startup.

       

       

      import QtQuick
      import QtMultimedia
       
      Window {
          width: 640
          height: 480
          visible: true
          title: "Hello Video"
       
          Video {
               anchors.fill: parent
          }
      }
      

       

      Console output:

      QQmlApplicationEngine failed to load component
      main.qml:2:1 Cannot load library ...QtMultimedia\quickmultimediaplugin.dll: The specified module could not be found.

       

      On that particular Windows Home N system, some of the required libraries are missing: evr.dll, mf.dll, mfplat.dll...

       

      Force quit is quite a dramatic outcome, I'd rather have an option to detect those missing dependencies during runtime and enabled/disable Video playback optionally.

      Cannot reproduce this problem in 6.4.3 and 6.5.0, but still affects LTS branch 6.2.x

      Attachments

        Issue Links

          Activity

            People

              laknoll Lars Knoll
              pavol Pavol Markovic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: