Get rid of an unneccessary #if

This commit is contained in:
Kovid Goyal 2016-09-26 16:24:03 +05:30
parent 4d8786e4e9
commit eb43e53372

View File

@ -6,11 +6,7 @@ QT_BEGIN_NAMESPACE
class HeadlessIntegrationPlugin : public QPlatformIntegrationPlugin class HeadlessIntegrationPlugin : public QPlatformIntegrationPlugin
{ {
Q_OBJECT Q_OBJECT
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "headless.json")
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: public:
QPlatformIntegration *create(const QString&, const QStringList&); QPlatformIntegration *create(const QString&, const QStringList&);
}; };