diff options
author | Jorgen Lind <jorgen.lind@gmail.com> | 2012-08-13 08:32:30 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-08-13 10:25:37 +0200 |
commit | b7a2f76e8b1a7422721a77cfe50becafcfe27ccc (patch) | |
tree | 8e863da3c6137a9991b52dcdd120f1100ebf945d | |
parent | 272142f53790987b3f226ca70f942da927d99815 (diff) |
Compile fixes
Change-Id: Ie532b5cd87dbcb9546b23c2ce7d013137933fbb8
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
-rw-r--r-- | examples/qml-compositor/main.cpp | 2 | ||||
-rw-r--r-- | tests/auto/client/tst_client.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/qml-compositor/main.cpp b/examples/qml-compositor/main.cpp index 2a453a63b..b556071ed 100644 --- a/examples/qml-compositor/main.cpp +++ b/examples/qml-compositor/main.cpp @@ -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())); diff --git a/tests/auto/client/tst_client.cpp b/tests/auto/client/tst_client.cpp index 5b594198e..3348847fc 100644 --- a/tests/auto/client/tst_client.cpp +++ b/tests/auto/client/tst_client.cpp @@ -43,6 +43,7 @@ #include <QBackingStore> #include <QPainter> +#include <QScreen> #include <QtTest/QtTest> |