virtual QPlatformIntegration *create(const QString &key, const QStringList ¶mList) = 0;
};
-#define QPlatformIntegrationFactoryInterface_iid "com.nokia.Qt.QPlatformIntegrationFactoryInterface"
+#define QPlatformIntegrationFactoryInterface_iid "org.qt-project.Qt.QPlatformIntegrationFactoryInterface"
Q_DECLARE_INTERFACE(QPlatformIntegrationFactoryInterface, QPlatformIntegrationFactoryInterface_iid)
virtual QPlatformTheme *create(const QString &key, const QStringList ¶mList) = 0;
};
-#define QPlatformThemeFactoryInterface_iid "com.nokia.Qt.QPlatformThemeFactoryInterface"
+#define QPlatformThemeFactoryInterface_iid "org.qt-project.Qt.QPlatformThemeFactoryInterface"
Q_DECLARE_INTERFACE(QPlatformThemeFactoryInterface, QPlatformThemeFactoryInterface_iid)
--- /dev/null
+{
+ "Keys": [ "cocoa" ]
+}
QT += core-private gui-private widgets-private platformsupport-private
+OTHER_FILES += cocoa.json
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
class QCocoaIntegrationPlugin : public QPlatformIntegrationPlugin
{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "cocoa.json")
public:
QStringList keys() const;
QPlatformIntegration *create(const QString&, const QStringList&);
return 0;
}
-Q_EXPORT_PLUGIN2(CocoaIntegration, QCocoaIntegrationPlugin)
-
QT_END_NAMESPACE
+
+#include "main.moc"
class QMinimalIntegrationPlugin : public QPlatformIntegrationPlugin
{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "minimal.json")
public:
QStringList keys() const;
QPlatformIntegration *create(const QString&, const QStringList&);
return 0;
}
-Q_EXPORT_PLUGIN2(minimal, QMinimalIntegrationPlugin)
-
QT_END_NAMESPACE
+
+#include "main.moc"
--- /dev/null
+{
+ "Keys": [ "minimal" ]
+}
HEADERS = qminimalintegration.h \
qminimalbackingstore.h
+OTHER_FILES += minimal.json
+
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
class QWindowsIntegrationPlugin : public QPlatformIntegrationPlugin
{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "windows.json")
public:
QStringList keys() const;
QPlatformIntegration *create(const QString&, const QStringList&);
return 0;
}
-Q_EXPORT_PLUGIN2(windows, QWindowsIntegrationPlugin)
-
QT_END_NAMESPACE
+
+#include "main.moc"
--- /dev/null
+{
+ "Keys": [ "windows" ]
+}
}
}
+OTHER_FILES += windows.json
+
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
class QXcbIntegrationPlugin : public QPlatformIntegrationPlugin
{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" FILE "xcb.json")
public:
QStringList keys() const;
QPlatformIntegration *create(const QString&, const QStringList&);
return 0;
}
-Q_EXPORT_PLUGIN2(xcb, QXcbIntegrationPlugin)
-
QT_END_NAMESPACE
+
+#include "main.moc"
--- /dev/null
+{
+ "Keys": [ "xcb" ]
+}
LIBS += -ldbus-1
}
+OTHER_FILES += xcb.json
+
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target