summaryrefslogtreecommitdiffstats
path: root/examples/declarative/imageelements/borderimage/main.cpp
blob: 1cd6d0c41a99de0681c57d574bbc29f5042b2757 (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/shadows.qml"));
    viewer.showExpanded();

    return app.exec();
}