SDK: add QML live coding / QML only deploy [answered]
It would be a great feature if the SDK supports QML live coding or QML only deploy.
In fact QML files just some text files and could be modified very easy, even on the device itself. So it would be a great feature, if you could see changes in your QML without full build and deploy process. Instead change some details and see the feature directly on your device, or a less cool, be also helpful way: deploy only QML and start the app again. This would be just some copy&paste to the QML folders and would take not as much time as compiling the whole application again.
This feature would help in cases where you work on a very detailed / rich of features application.
Also if you use PyOtherSide, you can always do it like this as you don't need to compile anything. :)
I'm basically already doing this - I have a script on the device that rsyncs the source from my PC and runs it with qmlscene. All in all takes a split second from tarting the script and the app starting on the device. :)
MartinK ( 2014-01-25 03:22:27 +0200 )editThe N9/Harmattan SDK had the feature to live update a QML file in debug mode, on the actual device. Also, it had a simulator which could restart within 3 seconds with updated code. It was impressive. SailfishOS SDK is still alpha, but I sure hope it will get these features too.
Fuzzillogic ( 2014-01-25 21:48:36 +0200 )editIn addition to qmlscene, you can run
Behold ( 2014-01-25 22:30:35 +0200 )editsailfish-qml $APPNAME
which will launch/usr/share/$APPNAME/qml/$APPNAME.qml
. This is useful for e.g. .desktop files.