summaryrefslogtreecommitdiff
path: root/tests/manual/qmlclient/main.cpp
blob: 3ab34e8e85b4c7a6977c5c2b34909de7ea8f15d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#include <QtGui/QGuiApplication>
#include <QtQml/QQmlApplicationEngine>

int main(int argc, char* argv[])
{
    setenv("QT_QPA_PLATFORM", "wayland", 1);

    QGuiApplication app(argc, argv);
    QQmlApplicationEngine engine(QUrl("qrc:/main.qml"));
    return app.exec();
}