From a8ba6e3c7f181e387eb53b122d58c433b5784319 Mon Sep 17 00:00:00 2001 From: Jonas Rabbe Date: Wed, 14 Mar 2012 13:02:32 +1000 Subject: Updated plugins to use new plugin architecture Changed QMediaPluginLoader to use QFactoryLoader instead of QPluginLoader and used metadata to get keys. Removed QAudioPluginLoader and changed audio classes to use instead use QMediaPluginLoader. The plugins must include the Q_PLUGIN_METADATA macro, and no longer use the Q_PLUGIN_EXPORT/Q_PLUGIN_EXPORT2 macros. A json file has been added for each plugin which can contain metadata which is available to the plugin loader before the plugin is actually loaded, and is used to read the keys for the plugin, e.g. supported services. QFactoryInterface will be deprecated and has been removed from all plugins. Change-Id: I035b82f9c9c65717bebf704d560ea8f891df21da Reviewed-by: Michael Goddard Reviewed-by: Dmytro Poplavskiy --- src/plugins/directshow/directshow.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/plugins/directshow/directshow.json (limited to 'src/plugins/directshow/directshow.json') diff --git a/src/plugins/directshow/directshow.json b/src/plugins/directshow/directshow.json new file mode 100644 index 000000000..a96b09827 --- /dev/null +++ b/src/plugins/directshow/directshow.json @@ -0,0 +1,3 @@ +{ + "Keys": ["com.nokia.qt.camera", "com.nokia.qt.mediaplayer"] +} -- cgit v1.2.3