summaryrefslogtreecommitdiff
path: root/examples/declarative/modelviews/visualitemmodel/main.cpp
blob: 6faeec8f82b225b90e987efbad329b8b46c7f5fc (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::ScreenOrientationAuto);
    viewer.setMainQmlFile(QLatin1String("qml/qml/visualitemmodel.qml"));
    viewer.showExpanded();

    return app.exec();
}