summaryrefslogtreecommitdiffstats
path: root/examples/qml-compositor/main.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-12-05 17:09:02 +0100
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-12-07 09:58:35 +0100
commit4c89518228012ddc3602eab405e4b5fb8108fcdf (patch)
tree615d4fdc38999e408d52998c39760064d223b652 /examples/qml-compositor/main.cpp
parent542eca71e074b5110df2aaf822449bf7d6ec2b91 (diff)
Make wayland actually a module
Also fix so that QtCompositor can be built as shared object. + fix so that the default QT_WAYLAND_GL_CONFIG is wayland_egl Change-Id: I02b72e99286584426bd37ab2d00bbc84af11efdc Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'examples/qml-compositor/main.cpp')
-rw-r--r--examples/qml-compositor/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml-compositor/main.cpp b/examples/qml-compositor/main.cpp
index 7f2d47bed..0bd09434c 100644
--- a/examples/qml-compositor/main.cpp
+++ b/examples/qml-compositor/main.cpp
@@ -42,7 +42,7 @@
#include "waylandsurface.h"
#include "waylandsurfaceitem.h"
-#include <QApplication>
+#include <QGuiApplication>
#include <QTimer>
#include <QPainter>
#include <QMouseEvent>
@@ -117,7 +117,7 @@ private:
int main(int argc, char *argv[])
{
- QApplication app(argc, argv);
+ QGuiApplication app(argc, argv);
QmlCompositor compositor;
compositor.setWindowTitle(QLatin1String("QML Compositor"));