afm-launch: uses qmlscene not qmlviewer
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 28 Dec 2015 14:33:11 +0000 (15:33 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 28 Dec 2015 14:33:11 +0000 (15:33 +0100)
Change-Id: I2e1818be346f1802c7e32725048fc2fea44a44f6

src/afm-launch.c

index 3b79fbb..937366d 100644 (file)
@@ -62,10 +62,12 @@ static const char *args_for_afb_daemon[] = {
 };
 
 static const char *args_for_qmlviewer[] = {
-       "/usr/bin/qt5/qmlviewer",
-       "-frameless",
+       "/usr/bin/qt5/qmlscene",
        "-fullscreen",
-       "-script",
+       "-I",
+       "%r",
+       "-I",
+       "%r/imports",
        "%r/%c",
        NULL
 };