aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/threading/workerscript/workerscript.cpp
blob: 9b28b7c3505ee632bc86df58506de7f5d688a3a2 (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("workerscript-manual-test");
    QCoreApplication::setOrganizationName("QtProject");

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

    return app.exec();
}