summaryrefslogtreecommitdiffstats
path: root/examples/declarative/touchinteraction/mousearea/mousearea-example/main.cpp
blob: 6c3c47ed9d7dba58ed6e4896ddecc385b0a61f18 (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/mousearea-example.qml"));
    viewer.showExpanded();

    return app.exec();
}