diff options
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(); +} |