path: root/src/plugins/platforms/ios/
diff options
authorTor Arne Vestbø <>2012-11-06 12:01:50 +0100
committerTor Arne Vestbø <>2013-02-27 23:55:37 +0100
commit09187f602c8ac84c9982bb2e433af5524ac2d37d (patch)
treec002d21813a5a48c2dae6538fa32b804168e450c /src/plugins/platforms/ios/
parent3c4f48f9e2ad9163d012d4afb36037d7efea8e3a (diff)
iOS: Implement QIOSBackingStore in terms of a QOpenGLPaintDevice
We build on top of the QPlatformOpenGLContext implementation to get automatic support for QBackingStore-based painting. Since the OpenGL renderer does not clear the backingstore between frames, we actually also get support for partial updates, and we get the benefit of an accelerated paint engine for Qt Quick 1 without setting a GLWidget as the viewport, which would cause issues such as an extra QWindow. This patch also removes the dependency to QtOpenGL and QtWidgets, which were leftovers from the Qt4 platform plugin. In Qt5 the needed GL bits are in QtGui. Change-Id: Id9b736bfb2e4aec56c0fa9f5b7b4d8bff8e3d1dc Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'src/plugins/platforms/ios/')
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/platforms/ios/ b/src/plugins/platforms/ios/
index 22b0fec9e8..2fe6a4cb3f 100644
--- a/src/plugins/platforms/ios/
+++ b/src/plugins/platforms/ios/
@@ -3,8 +3,7 @@ TARGET = qios
DESTDIR = $$QT.gui.plugins/platforms
-QT += opengl
-QT += core-private gui-private platformsupport-private opengl-private widgets-private
+QT += core-private gui-private platformsupport-private
LIBS += -framework UIKit -framework QuartzCore