summaryrefslogtreecommitdiff
path: root/examples/sensors/accelbubble/main.cpp
diff options
context:
space:
mode:
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 bc55763..222c896 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();
+}