[plugins/qpa] Fix build with Qt 5.4

PlatformIntegration::destroyScreen got added in 5.5.
This commit is contained in:
Martin Gräßlin 2016-03-11 10:02:16 +01:00
parent 51ee514227
commit 68683873e3

View file

@ -181,7 +181,9 @@ void Integration::initializeWayland()
void Integration::createWaylandOutput(quint32 name, quint32 version)
{
if (m_dummyScreen) {
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
destroyScreen(m_dummyScreen);
#endif
m_dummyScreen = nullptr;
}
using namespace KWayland::Client;