Bump the QPlatformIntegrationFactoryInterface version for Qt 5.5

See #408 (Fix build with Qt 5.5.x)
This commit is contained in:
Kovid Goyal 2015-07-13 15:49:35 +05:30
parent c9002607f6
commit 33e085cbce

View File

@ -6,7 +6,11 @@ QT_BEGIN_NAMESPACE
class HeadlessIntegrationPlugin : public QPlatformIntegrationPlugin
{
Q_OBJECT
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" FILE "headless.json")
#else
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2" FILE "headless.json")
#endif
public:
QPlatformIntegration *create(const QString&, const QStringList&);
};