X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=app%2Fmain.cpp;fp=app%2Fmain.cpp;h=2058ff98c57baaf821401a901d8b00be4880dfd1;hb=219b527adbc7996f4ae2e73732114d2daa17c9c5;hp=771ce3af093c65824c23e08642d8638aa013162c;hpb=d53efa6bca224f2c6bec8e7b14b1dff7f12a2d03;p=apps%2Fmediaplayer.git diff --git a/app/main.cpp b/app/main.cpp index 771ce3a..2058ff9 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -24,6 +24,7 @@ #include #include +#include #include @@ -38,6 +39,8 @@ int main(int argc, char *argv[]) QQmlContext *context = engine.rootContext(); context->setContextProperty("AlbumArt", ""); context->setContextProperty("mediaplayer", new Mediaplayer(context)); + VehicleSignalsConfig vsConfig("mediaplayer"); + context->setContextProperty("VehicleSignals", new VehicleSignals(vsConfig)); engine.load(QUrl(QStringLiteral("qrc:/MediaPlayer.qml")));