packaging: run all demos using qmlscene
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 14 May 2014 13:59:42 +0000 (15:59 +0200)
committerTomasz Olszak <olszak.tomasz@gmail.com>
Mon, 9 Nov 2015 17:27:21 +0000 (18:27 +0100)
Bug-Tizen: TIVI-119, TIVI-120
Change-Id: I3e3cb3bb9a203a55132197a0835aa411df26fff0
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/qt5-qtdeclarative-examples.sh
packaging/qt5-qtdeclarative.spec

index 647568bb1e7330716603e694511ecbf2d188234a..e0f18e3be79d4c6019e5919b1bc25456f80c32d9 100644 (file)
@@ -1,2 +1,6 @@
 #!/bin/sh
-qml /usr/share/qt5/qt5-qtdeclarative/examples/quick/demos/samegame/samegame.qml
+
+ls /usr/share/qt5/qt5-qtdeclarative/examples/quick/demos/*/*.qml \
+    | while read t ; do
+    qmlscene "$t" ;
+done
index be385a1f3e150e7c5194da96430c2e84097436a5..fae25a8595631726a0979f3aedd47c4a7988ec3e 100644 (file)
@@ -276,9 +276,13 @@ Summary:    QML and Qt Quick Examples
 Group:      Base/Libraries
 Requires:   %{name} = %{version}-%{release}
 Requires:   qt5-plugin-imageformat-jpeg
+Requires:   qt5-qtdeclarative-import-folderlistmodel
+Requires:   qt5-qtdeclarative-import-models2
 Requires:   qt5-qtdeclarative-import-multimedia
 Requires:   qt5-qtdeclarative-import-particles2
 Requires:   qt5-qtdeclarative-import-qtquick2plugin
+Requires:   qt5-qtdeclarative-import-window2
+Requires:   qt5-qtdeclarative-import-xmllistmodel
 Requires:   qt5-qtdeclarative-qmlscene
 
 %description examples