aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlapplicationengine/testapp/main.cpp
blob: 6ccd256cca713b0f17482ccf6cd8e5249d5b7e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (C) 2016 Research In Motion.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <QCoreApplication>
#include <QQmlApplicationEngine>

int main (int argc, char *argv[])
{
    QCoreApplication app(argc, argv);
    QQmlApplicationEngine e(QUrl(QString("qrc:///") + argv[1]));
    return app.exec();
}