qwm->activateWindow(graphic_role);
});
+ context->setContextProperty("AlbumArt", "");
context->setContextProperty("mediaplayer", new Mediaplayer(bindingAddress, context));
context->setContextProperty(QStringLiteral("screenInfo"), &screenInfo);
- usleep(300000);
-
engine.load(QUrl(QStringLiteral("qrc:/MediaPlayer.qml")));
QObject *root = engine.rootObjects().first();
QQuickWindow *window = qobject_cast<QQuickWindow *>(root);