Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-493

Multimedia QML module built with wrong suffix for debug on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 1.1.1
    • 1.1.0
    • Build System
    • None
    • Windows 7, Qt 4.7
    • commit 819fad0c2fc3602e6b8b7c5d4245fd884a300e86

      When you build qt-mobility, the debug version of declarative plugin is not build with d suffix. This means the dll for debug and release has the same name, and building the release DLL overwrites the debug DLL.

      running QML with Qt.multimedia;

      import Qt 4.7
      import Qt.multimedia 1.1
      Rectangle {
          width: 200
          height: 200
        
          Video {
         id: video
         anchors.fill: parent
         source: Qt.resolvedUrl("C:/TestFolder//test.wmv")
         Component.onCompleted : video.play();
         }
      }
      

      results in

      QMediaPluginLoader: Failed to load plugin: "C:/QtMobility/plugins/mediaservice/dsengine.dll" "The plugin 'C:/QtMobility/plugins/mediaservice/dsengine.dll' uses incompatible Qt library. Expected build key "Windows msvc debug full-config", got "Windows msvc release full-config""
      QMediaPluginLoader: Failed to load plugin: "C:/QtMobility/plugins/mediaservice/qtmedia_audioengine.dll" "The plugin 'C:/QtMobility/plugins/mediaservice/qtmedia_audioengine.dll' uses incompatible Qt library. Expected build key "Windows msvc debug full-config", got "Windows msvc release full-config""
      QMediaPluginLoader: Failed to load plugin: "C:/QtMobility/plugins/mediaservice/qtmedia_wmp.dll" "The plugin 'C:/QtMobility/plugins/mediaservice/qtmedia_wmp.dll' uses incompatible Qt library. Expected build key "Windows msvc debug full-config", got "Windows msvc release full-config""

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

            wbeck Wolfgang Beck (closed Nokia identity) (Inactive)
            hhartz Henrik Hartz (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes