Fix no-opengl developer builds
Change-Id: I0c8fb7d0aa9a0d95a13447315bd8c1104089fed1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Andy Nichols <andy.nichols@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
2697148775
commit
1b0080a456
|
|
@ -198,6 +198,7 @@ QPlatformBackingStore *QEglFSIntegration::createPlatformBackingStore(QWindow *wi
|
|||
static_cast<QEglFSWindow *>(window->handle())->setBackingStore(bs);
|
||||
return bs;
|
||||
#else
|
||||
Q_UNUSED(window);
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -183,6 +183,8 @@ void QEglFSScreen::handleCursorMove(const QPoint &pos)
|
|||
|
||||
if (enter && leave)
|
||||
QWindowSystemInterface::handleEnterLeaveEvent(enter, leave, enter->mapFromGlobal(pos), pos);
|
||||
#else
|
||||
Q_UNUSED(pos);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -231,7 +233,13 @@ QPixmap QEglFSScreen::grabWindow(WId wid, int x, int y, int width, int height) c
|
|||
return QPixmap::fromImage(img).copy(rect);
|
||||
}
|
||||
}
|
||||
#endif // QT_NO_OPENGL
|
||||
#else // QT_NO_OPENGL
|
||||
Q_UNUSED(wid);
|
||||
Q_UNUSED(x);
|
||||
Q_UNUSED(y);
|
||||
Q_UNUSED(width);
|
||||
Q_UNUSED(height);
|
||||
#endif
|
||||
return QPixmap();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ QPlatformBackingStore *QMinimalEglIntegration::createPlatformBackingStore(QWindo
|
|||
#ifndef QT_NO_OPENGL
|
||||
return new QMinimalEglBackingStore(window);
|
||||
#else
|
||||
Q_UNUSED(window);
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue