aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/qmltypememory/main.cpp
blob: 8f7bf4c4e14032d063d97b6571e99ee507a1d718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2016 Research In Motion.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include <QtQml>
#include <QGuiApplication>
#include "testdriver.h"

int main (int argc, char* argv[])
{
    QGuiApplication app(argc, argv);
    int i = -1;
    if (argc > 1)
        i = atoi(argv[1]);
    if (i < 1)
        i = -1;
    TestDriver td(QUrl::fromLocalFile("main.qml"), i);
    return app.exec();
}