summaryrefslogtreecommitdiffstats
path: root/examples/declarative/i18n/main.cpp
blob: 66b3ffe42395fd8e920654046a7c6c13cfa551a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <QtGui/QApplication>
#include "qmlapplicationviewer.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QmlApplicationViewer viewer;
    viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape);
    viewer.setMainQmlFile(QLatin1String("qml/qml/i18n.qml"));
    viewer.showExpanded();

    return app.exec();
}