On Fri, 30 Mar 2012 01:48:59 ext Robinson, David wrote: > No, I've taken the import as per the Qt5 examples: > import QtMultimedia 5.0 > > As you have mentioned, what is a bit different in this lib is that it > exports no version in the plugin extension code but has 2 versions 4.0 & > 5.0 for each element. I have to admit I don't understand how this works? > > qmlRegisterType<QDeclarativeVideoOutput>(uri, 4, 0, "VideoOutput"); > qmlRegisterType<QDeclarativeVideoOutput>(uri, 5, 0, "VideoOutput"); > > & > > plugin declarative_multimedia > Video 5.0 Video.qml > Video 4.0 Video_4.qml
How this works is that you get backwards compatibility if you try to import version 4 (but with the Qt5 plugin installed). So presumably, import QtMultimedia 4.0 will get you the same API as the previous Video element, but running with QtQuick 2.0. Unfortunately that's not the problem you're hitting (because it can't find the QtMultimedia module at all). And I'm not sure about the import paths on windows, so I don't think I can help with that. Sorry. -- Alan Alpert Senior Engineer Nokia, Qt Development Frameworks _______________________________________________ Qt-qml mailing list Qt-qml@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-qml