2022-06-08 11:30:04 +00:00
|
|
|
// Copyright (C) 2014 BlackBerry Limited. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2014-03-19 11:21:04 +00:00
|
|
|
|
|
|
|
#include <QQmlContext>
|
|
|
|
#include <QGuiApplication>
|
|
|
|
#include <QQmlApplicationEngine>
|
2017-06-22 14:38:06 +00:00
|
|
|
#include <QLoggingCategory>
|
2014-03-19 11:21:04 +00:00
|
|
|
#include "pingpong.h"
|
|
|
|
|
2017-06-22 14:38:06 +00:00
|
|
|
|
2014-03-19 11:21:04 +00:00
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2021-02-22 14:05:28 +00:00
|
|
|
// QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
|
2014-03-19 11:21:04 +00:00
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
PingPong pingPong;
|
|
|
|
QQmlApplicationEngine engine;
|
|
|
|
engine.rootContext()->setContextProperty("pingPong", &pingPong);
|
|
|
|
engine.load(QUrl("qrc:/assets/main.qml"));
|
|
|
|
return app.exec();
|
|
|
|
}
|