blob: f0f9af61f41bf1dab358db35e381dd64e522bf3a (
plain) (
blame)
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();
}
|