aboutsummaryrefslogblamecommitdiff
path: root/qmidiplayerlite.src.d/main.cpp
blob: 1a87b3357e5ac03abf4cc509395b112d84b51e58 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                       
#include <QApplication>
#include <QtQml>
#include <QQmlApplicationEngine>
#include "qmpcorewrapper.hpp"

int main(int argc, char *argv[])
{
	QApplication app(argc, argv);
	qmlRegisterType<CQMPCoreWrapper>("org.chrisoft.qmpcore",1,0,"CQMPCoreWrapper");

	QQmlApplicationEngine engine;
	engine.load(QUrl(QStringLiteral("qrc:/main.qml")));

	return app.exec();
}