I would say you need to run the debug version of QMLplayer, or you need to purge your plugin registry (in the registry)
________________________________ From: "Robinson, David" <[email protected]> To: [email protected]; [email protected] Sent: Wed, July 14, 2010 11:20:10 AM Subject: [Qt4-preview-feedback] Qt 4.7.0-beta2 and Qt Mobility Qml video element on Windows XP SP3 No idea if this feedback mailing list is monitored anymore but I’ll give it one more try before I give up on it completely. I’ve installed the above preview API’s & I have successfully got the QtMobility player example working & playing media files. When I try the Qml declarative Video element I get nothing. Looking at the Qml Inspector I see hasVideo is false. So having looked at the code of the plugin I can see that this comes from QMediaPlayerControl::isVideoAvailable(). The QDeclarativeMediaBasePlayerControl default is false and the QMediaPlayerControl gets this from the serviceRequest. The player example is in essence using the same media classes in much the same way. So why the difference loading the backend? Having not seen any conclusive difference in the code of the declarative plugin & the player example I tried to build a debug build of the declarative plugin & tried to run it up using qmlviewer. This fails with: plugin cannot be loaded for module "Qt.multimedia": The plugin 'C:/Qt/4.7.0-beta2/imports/Qt/multimedia/declarative_multimedia.dll' uses incompatible Qt library. Expected build key "Windows msvc release full-config", got "Windows msvc debug full-config" import Qt.multimedia 1.0 How can I debug the decalarative plugin? How do I find out why the backend won’t load from the Qml. I’ve seen several people raise the same problem but only responses like it’s a backend device issue or did you remember the line “import Qt.multimedia 1.0”. I want to know how to track which media service backend is loading & when it fails why. Does anyone know? Regards David Robinsion ________________________________ From:[email protected] [mailto:[email protected]] On Behalf Of Robinson, David Sent: 13 July 2010 17:44 To: [email protected] Subject: Re: [Qt4-preview-feedback] Qt 4.7.0-beta2 and Phonon backend onWindowsXP SP3 The Phonon backend in Qt 4.7.0 beta2 on Windows XP SP3 does not work for me. I copied the beta1 components into the beta2 bin and Phonon playback was restored. Similarly the Phonon Qml problems went away when using the beta2 qmlviewer as opposed to the QtCreater 2.0.80 qmlviewer exe. I’m still trying to get the Qml Video Element working. The multimediakit libs & plugins built and installed OK. The player example works but in the Qml engine the Video element source loaded but hasVideo() is false, so it won’t display. Does anyone know how to resolve this? Regards David Robinsion ________________________________ From:[email protected] [mailto:[email protected]] On Behalf Of Robinson, David Sent: 12 July 2010 12:28 To: [email protected] Subject: [Qt4-preview-feedback] Qt 4.7.0-beta2 and Phonon backend on WindowsXP SP3 The Phonon backend appears to not work in the Qt 4.7.0 beta2 pre release. I tried to rebuild the module & even the full release over the weekend but this had no effect. It is still not possible to play any media using the qmediaplayer demo, the controls all work as expected but the window simply does not size and paint correctly. If I just modify my path to use the Qt 4.7.0 beta1 components, the qmediaplayer demo in the beta2 release folder works correctly. What is the problem with the Phonon backend and how can I fix it? Similarly I cannot get any QML that uses phonon video to play anymore, when this worked before in the beta1. I have tried using the Qt Mobility API, multimedia 1.0.1, Video QML element but this shows only a black background. Has anyone got this working? Regards David Robinsion Please refer to www.anite.com for individual Anite company details. The contents of this e-mail and any attachments are for the intended recipient only. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege. Contracts cannot be concluded with us nor legal service effected by email. Anite plc Registered in England No.1798114 Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom VAT Registration No. GB 787 418187 Scanned for viruses by Mimecast. Scanned for viruses by Mimecast. Please refer to www.anite.com for individual Anite company details. The contents of this e-mail and any attachments are for the intended recipient only. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege. Contracts cannot be concluded with us nor legal service effected by email. Anite plc Registered in England No.1798114 Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom VAT Registration No. GB 787 418187 Scanned for viruses by Mimecast. Scanned for viruses by Mimecast. Please refer to www.anite.com for individual Anite company details. The contents of this e-mail and any attachments are for the intended recipient only. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege. Contracts cannot be concluded with us nor legal service effected by email. Anite plc Registered in England No.1798114 Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom VAT Registration No. GB 787 418187 Scanned for viruses by Mimecast.
_______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
