main: Add different QMLs for doing screenshots 69/25869/1 10.92.0 10.93.0 koi/10.92.0 koi/10.93.0 koi_10.92.0 koi_10.93.0
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 6 Jan 2021 13:58:18 +0000 (15:58 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 6 Jan 2021 22:12:10 +0000 (00:12 +0200)
commitf386507d3c6996e39fcd459d032b9e0cf6f0f563
tree26d6c1a15bff8a3d946cdb0234375eeae0473fb4
parenta37400d73417dc02511813833b8f4d9b91e40a11
main: Add different QMLs for doing screenshots

A better of way trying to verify that we have the homescreen
up-and-running would be to load-up a reference image which doesn't
change depending on time or other things loaded up (weather for
instance).

Alternatively, a possible solution would be to have a totally different
application that basically does the same thing as homescreen. Instead of
doing that, use an environment variable to choose up what QMLs to load
instead of the original application. Modifying the env variable then
re-starting the application is sufficient to have the screenshot for CI.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie1478bb75f23c36e3c24c9e8d3e2d7c4848dd779
homescreen/qml/background_demo.qml [new file with mode: 0644]
homescreen/qml/bottompanel_demo.qml [new file with mode: 0644]
homescreen/qml/qml.qrc
homescreen/qml/toppanel_demo.qml [new file with mode: 0644]
homescreen/src/main.cpp