From 9e2d057c027c6f005e8424e28b2c5976af2efccd Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 14 May 2014 15:59:42 +0200 Subject: [PATCH] packaging: run all demos using qmlscene Bug-Tizen: TIVI-119, TIVI-120 Change-Id: I3e3cb3bb9a203a55132197a0835aa411df26fff0 Signed-off-by: Philippe Coval --- packaging/qt5-qtdeclarative-examples.sh | 6 +++++- packaging/qt5-qtdeclarative.spec | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packaging/qt5-qtdeclarative-examples.sh b/packaging/qt5-qtdeclarative-examples.sh index 647568bb1..e0f18e3be 100644 --- a/packaging/qt5-qtdeclarative-examples.sh +++ b/packaging/qt5-qtdeclarative-examples.sh @@ -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 diff --git a/packaging/qt5-qtdeclarative.spec b/packaging/qt5-qtdeclarative.spec index be385a1f3..fae25a859 100644 --- a/packaging/qt5-qtdeclarative.spec +++ b/packaging/qt5-qtdeclarative.spec @@ -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 -- 2.34.1