Hi, I made
http://bugreports.qt.nokia.com/browse/QTMOBILITY-493 <http://bugreports.qt.nokia.com/browse/QTMOBILITY-493>Short-term you can work around the issue by building release or debug only. Cheers, Henrik On Sep 9, 2010, at 11:18 PM, ext qt next wrote: Hi, I have rebuild qt, mobility from scratch to be sure ... And I have the same issue. I have checked with depends my executable and the library : it's ok ...debug version use debug lib, and release version use release lib ... I have find that you build qt-mobility, debug version of declarative plugin are not build with d suffix ... so the dll for debug and release have the same name ... If you look in qt/imports/multimedia (the same for all declarative mobility plugins) folder there is the release dll plugin and a pdb with no ...d and there is no ...d.dll ... It seems first debug version with no suffix d is copied and overwritten after by release dll... I need to manually copy file debug (renaming with d.dll) from plugins/declarative to imports/qt/multimedia. then after I have another trouble : I have created a small pure qml exemple (no c++) with qmlviewer : @ 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(); } } @ I if launch qmlviewer have the following warning in qml viewer warning window : 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"" If I try for example : declarative-mapviewer demo : i need to rename declarative location plugin with the d.dll and copy to the /imports/mobility/... and then it works without trouble. I don't know if it helps ... :) 2010/9/8 <[email protected]<mailto:[email protected]>> Hi, On 8. sep. 2010, at 12.08, ext qt next wrote: > I am trying to embed a video element in my qml application. I use Windows > Seven , qt from git, qtcreator from git, qt.mobility from git (from two days > git). I use import Qt.multimedia 1.1, and when I launch the application, > > (I am trying to play a wmv file). I only have the sound and I have the > following log message : > QMediaPluginLoader: Failed to load plugin: > “c:/dev/x32/qt4.7/plugins/mediaservice/dsengine.dll” “The plugin > ‘C:/dev/x32/qt4.7/plugins/mediaservice/dsengine.dll’ uses incompatible Qt > library. Expected build key “Windows msvc debug full-config”, got “Windows > msvc release full-config”” > ... and the same for all others plugins… > If I start in debug mode, I have a message saying that there is only release > module… And If I start in release mode, I have a message saying that there is > only the debug module ??? Do you get the same issue for the demos and examples in the mobility repo? Can you verify the dependencies on your exe and dll's with depends.exe? Cheers, Henrik
_______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
