ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #04248
Running qmlscene from the terminal
Just had a long debugging session with help from Ricardo Salveti, and
he provided a few workarounds that have helped getting qmlscene to be
runnable from the terminal (or adb shell).
So, for the record, here are a few points to keep in mind if you want
to do this:
1) If you are root, run "su - phablet" so you get into the right user
environment
2) Install http://paste.ubuntu.com/6151324/ at
~/.local/applications/desktop/test.desktop
3) Run: qmlscene
--desktop_file_hint=~/.local/share/applications/test.desktop
yourfile.qml
Note that for some strange reason, running qmlscene without the
desktop hint file flag was corrupting the environment in a way that is
not yet well understood, and after that it would stop working
altogether until a reboot. That made the problem specially tricky to
workaround.
gustavo @ http://niemeyer.net
Follow ups