Add QPA prefix and version number to QPA plugin factory interfaces.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Mon, 25 Jun 2012 10:25:50 +0000 (12:25 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 27 Jun 2012 10:39:53 +0000 (12:39 +0200)
The interfaces may change in Qt minor versions.

Change-Id: I43bc6245ddbba8232e00313bdc64e8e60c7eab6f
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 files changed:
src/gui/kernel/qplatformintegrationplugin.h
src/gui/kernel/qplatformthemeplugin.h
src/plugins/platforms/cocoa/main.mm
src/plugins/platforms/directfb/main.cpp
src/plugins/platforms/eglfs/main.cpp
src/plugins/platforms/kms/main.cpp
src/plugins/platforms/linuxfb/main.cpp
src/plugins/platforms/minimal/main.cpp
src/plugins/platforms/minimalegl/main.cpp
src/plugins/platforms/openwfd/main.cpp
src/plugins/platforms/qnx/main.h
src/plugins/platforms/windows/main.cpp
src/plugins/platforms/xcb/main.cpp

index 8990668..b7abc37 100644 (file)
@@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE
 
 class QPlatformIntegration;
 
-#define QPlatformIntegrationFactoryInterface_iid "org.qt-project.Qt.QPlatformIntegrationFactoryInterface"
+#define QPlatformIntegrationFactoryInterface_iid "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1"
 
 class Q_GUI_EXPORT QPlatformIntegrationPlugin : public QObject
 {
index cc7bd76..dafe414 100644 (file)
@@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE
 
 class QPlatformTheme;
 
-#define QPlatformThemeFactoryInterface_iid "org.qt-project.Qt.QPlatformThemeFactoryInterface"
+#define QPlatformThemeFactoryInterface_iid "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1"
 
 class Q_GUI_EXPORT QPlatformThemePlugin : public QObject
 {
index 35546ec..a0b2ee5 100644 (file)
@@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
 class QCocoaIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "cocoa.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "cocoa.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index cc9fcf6..ee2a2e6 100644 (file)
@@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE
 class QDirectFbIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "directfb.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "directfb.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index de3fe04..4c71477 100644 (file)
@@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE
 class QEglFSIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "eglfs.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "eglfs.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index 73a7029..e1b633f 100644 (file)
@@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE
 class QKmsIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "kms.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "kms.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index 4180d6b..11f9799 100644 (file)
@@ -46,7 +46,7 @@ QT_BEGIN_NAMESPACE
 
 class QLinuxFbIntegrationPlugin : public QPlatformIntegrationPlugin
 {
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index f5649c1..10dbc8f 100644 (file)
@@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE
 class QMinimalIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "minimal.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "minimal.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index 33098f1..45973a1 100644 (file)
@@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE
 class QMinimalEglIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "minimalegl.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "minimalegl.json")
 public:
     QStringList keys() const;
     QPlatformIntegration *create(const QString&, const QStringList&);
index c91a93f..7ceedb8 100644 (file)
@@ -46,7 +46,7 @@ QT_BEGIN_NAMESPACE
 
 class QOpenWFDIntegrationPlugin : public QPlatformIntegrationPlugin
 {
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index b4e229e..66e9804 100644 (file)
@@ -46,7 +46,7 @@ QT_BEGIN_NAMESPACE
 class QQnxIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "qnx.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "qnx.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index 8bc603b..f70a065 100644 (file)
@@ -105,7 +105,7 @@ QT_BEGIN_NAMESPACE
 class QWindowsIntegrationPlugin : public QPlatformIntegrationPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "windows.json")
+    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "windows.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };
index eaeccfb..f040adb 100644 (file)
@@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE
 class QXcbIntegrationPlugin : public QPlatformIntegrationPlugin
 {
    Q_OBJECT
-   Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "xcb.json")
+   Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "xcb.json")
 public:
     QPlatformIntegration *create(const QString&, const QStringList&);
 };