aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/threading/threadedlistmodel/threadedlistmodel.cpp
blob: 569e1d8418fcaea383ccc693d2fbfada9346681b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <QtGui/qguiapplication.h>
#include <QtQuick/QQuickView>

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

    QCoreApplication::setApplicationName("threadedlistmodel-manual-test");
    QCoreApplication::setOrganizationName("QtProject");

    QQuickView view;
    view.setSource(QUrl(QStringLiteral("qrc:/qt/qml/threadedlistmodel/timedisplay.qml")));
    view.show();

    return app.exec();
}