mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
| .. | ||
| build-android | ||
| lisp | ||
| platforms | ||
| qml | ||
| .gitignore | ||
| app.asd | ||
| app.pro | ||
| readme.md | ||
Prepare
Please copy the app template files first:
$ cd ..
$ ./copy.sh tilt-sensor
Info
This shows how to read mobile device sensor data from QML, combined with a
Timer. Note also how a Repeater simplifies the UI.
Run
lqml run.lisp
Optionally pass -slime to start a Swank server, and connect from Emacs with
M-x slime-connect.
During development you can pass -auto, which will reload all QML files after
you made a change to any of them and saved it. For re-initialization after
reloading, file lisp/qml-reload/on-reloaded will be loaded.
Closing the window quits the app. If you try to kill it with ctrl-c, you need
an additional ctrl-d to exit from ECL. To quit from Slime, do (qq) which is
short for (qquit).