summaryrefslogtreecommitdiffstats
path: root/examples/sensors/accelbubble/main.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-08-12 12:42:03 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-08-12 12:42:03 +0200
commita065822cef5e289356c526b1e82a3ee46eb43d69 (patch)
tree52281c73dd6fea8d567ced4b9f8d0dad8e25db50 /examples/sensors/accelbubble/main.cpp
parent82b88416950c5d7cae82eeca44068fad47567e32 (diff)
parent6dd954f2b9ce1f241d968d201183f8a80d729e57 (diff)
Merge remote-tracking branch 'origin/stable' into dev
Diffstat (limited to 'examples/sensors/accelbubble/main.cpp')
-rw-r--r--examples/sensors/accelbubble/main.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/examples/sensors/accelbubble/main.cpp b/examples/sensors/accelbubble/main.cpp
index bc557637..222c8966 100644
--- a/examples/sensors/accelbubble/main.cpp
+++ b/examples/sensors/accelbubble/main.cpp
@@ -38,5 +38,14 @@
**
****************************************************************************/
-#include "../stub.h"
-SENSORS_EXAMPLE_MAIN(accelbubble)
+
+#include <QtGui/QGuiApplication>
+#include <QtQml/QQmlApplicationEngine>
+
+int main(int argc, char *argv[])
+{
+ QGuiApplication app(argc,argv);
+ QQmlApplicationEngine engine(QUrl("qrc:///accelbubble.qml"));
+
+ return app.exec();
+}