aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlapplicationengine/testapp/main.cpp
blob: 468c8428ba84377482542e13be32ee76faf29c70 (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 WITH Qt-GPL-exception-1.0

#include <QCoreApplication>
#include <QQmlApplicationEngine>

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