123456789101112131415 |
- #include <QtGui/QApplication>
- #include "qmlapplicationviewer.h"
- Q_DECL_EXPORT int main(int argc, char *argv[])
- {
- QScopedPointer<QApplication> app(createApplication(argc, argv));
- QScopedPointer<QmlApplicationViewer> viewer(QmlApplicationViewer::create());
- viewer->setMainQmlFile(QLatin1String("qml/fp1/FpSplashScreen.qml"));
- viewer->showExpanded();
- viewer->setOrientation(viewer->ScreenOrientationLockPortrait);
- return app->exec();
- }
|