summaryrefslogtreecommitdiffstats
path: root/examples/declarative/modelviews/Delegate/main.cpp
blob: 22252ce4a7f4770e64de67201d01cf10f489ff6e (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/Delegate.qml"));
    viewer.showExpanded();

    return app.exec();
}