aboutsummaryrefslogtreecommitdiffstats
path: root/SampleMediaApp/main.cpp
blob: a1ea90800c306188df3022227df50545ad439b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <QtGui/QGuiApplication>
#include "qtquick2applicationviewer.h"

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

    QtQuick2ApplicationViewer viewer;
    viewer.setMainQmlFile(QStringLiteral("qml/SampleMediaApp/main.qml"));
    viewer.setFlags(Qt::FramelessWindowHint);
    viewer.showExpanded();

    return app.exec();
}