diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-08-12 12:42:03 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-08-12 12:42:03 +0200 |
commit | a065822cef5e289356c526b1e82a3ee46eb43d69 (patch) | |
tree | 52281c73dd6fea8d567ced4b9f8d0dad8e25db50 /examples/sensors/accelbubble/main.cpp | |
parent | 82b88416950c5d7cae82eeca44068fad47567e32 (diff) | |
parent | 6dd954f2b9ce1f241d968d201183f8a80d729e57 (diff) |
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I7a9c32e8314fe1f753e40464cc5fbd16895c3665
Diffstat (limited to 'examples/sensors/accelbubble/main.cpp')
-rw-r--r-- | examples/sensors/accelbubble/main.cpp | 13 |
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(); +} |