Compile fixes
authorJorgen Lind <jorgen.lind@gmail.com>
Mon, 13 Aug 2012 06:32:30 +0000 (08:32 +0200)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>
Mon, 13 Aug 2012 08:25:37 +0000 (10:25 +0200)
Change-Id: Ie532b5cd87dbcb9546b23c2ce7d013137933fbb8
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
examples/qml-compositor/main.cpp
tests/auto/client/tst_client.cpp

index 2a453a6..b556071 100644 (file)
@@ -65,7 +65,7 @@ public:
         enableSubSurfaceExtension();
         setSource(QUrl("main.qml"));
         setResizeMode(QQuickView::SizeRootObjectToView);
-        setClearColor(Qt::black);
+        setColor(Qt::black);
         winId();
 
        connect(this, SIGNAL(frameSwapped()), this, SLOT(frameSwappedSlot()));
index 5b59419..3348847 100644 (file)
@@ -43,6 +43,7 @@
 
 #include <QBackingStore>
 #include <QPainter>
+#include <QScreen>
 
 #include <QtTest/QtTest>