Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 15 lines (11 sloc) 0.464 kb
092864a Marius Gedminas Initial prototype.
authored
1 #include <QtGui/QApplication>
2 #include "qmlapplicationviewer.h"
3
4 Q_DECL_EXPORT int main(int argc, char *argv[])
5 {
6 QScopedPointer<QApplication> app(createApplication(argc, argv));
7 QScopedPointer<QmlApplicationViewer> viewer(QmlApplicationViewer::create());
8
9 viewer->setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
10 viewer->setMainQmlFile(QLatin1String("qml/TimeTracker/main.qml"));
11 viewer->showExpanded();
12
13 return app->exec();
14 }
Something went wrong with that request. Please try again.