// Copyright (C) 2017 Lorn Potter. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include #include #include #include #include "collector.h" int main( int argc, char** argv ) { QGuiApplication app( argc, argv ); qmlRegisterType("Collector", 1, 0, "Collector"); QQuickView view; view.setResizeMode(QQuickView::SizeRootObjectToView); view.setSource(QUrl("qrc:qml/main.qml")); view.show(); return app.exec(); }