aboutsummaryrefslogblamecommitdiff
path: root/qmidiplayer-lite/main.cpp
blob: f0f9af61f41bf1dab358db35e381dd64e522bf3a (plain) (tree)
1
2
3
4
5
6
7
8
9






                                

                                                                                      
 

                                                       
 
                      
 
#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();
}