mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Bump the QPlatformIntegrationFactoryInterface version for Qt 5.5
See #408 (Fix build with Qt 5.5.x)
This commit is contained in:
parent
c9002607f6
commit
33e085cbce
@ -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&);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user