summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/ios.pro
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2012-11-06 12:01:50 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:55:37 +0100
commit09187f602c8ac84c9982bb2e433af5524ac2d37d (patch)
treec002d21813a5a48c2dae6538fa32b804168e450c /src/plugins/platforms/ios/ios.pro
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 <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/ios.pro')
-rw-r--r--src/plugins/platforms/ios/ios.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/platforms/ios/ios.pro b/src/plugins/platforms/ios/ios.pro
index 22b0fec9e8..2fe6a4cb3f 100644
--- a/src/plugins/platforms/ios/ios.pro
+++ b/src/plugins/platforms/ios/ios.pro
@@ -3,8 +3,7 @@ TARGET = qios
load(qt_plugin)
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
OBJECTIVE_SOURCES = main.mm \