mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
update readme
This commit is contained in:
parent
d4a904ed26
commit
6b758bd490
1 changed files with 12 additions and 4 deletions
|
|
@ -32,10 +32,18 @@ the `lqml` executable.
|
||||||
Info
|
Info
|
||||||
----
|
----
|
||||||
|
|
||||||
This shows how to run CLOG on mobile. It doesn't need a webserver, but uses a
|
This shows how to run CLOG on mobile. It uses two different approaches,
|
||||||
simple QML `WebSocketServer` instead. The webview is the native one of the
|
depending on the OS:
|
||||||
mobile device, which has some restrictions: it can't overlap with QML items,
|
|
||||||
and things like swiping don't work.
|
* direct calls to the browser to run JS, and a small hack to call back to CLOG
|
||||||
|
on browser events
|
||||||
|
|
||||||
|
* a simple local websocket-server; this is needed on iOS, where the above
|
||||||
|
approach doesn't work
|
||||||
|
|
||||||
|
The webview is the native one of the mobile device, which has some
|
||||||
|
restrictions: it can't overlap with QML items, and things like swiping don't
|
||||||
|
work.
|
||||||
|
|
||||||
On the second page you can see a log of CLOG messages, and start Swank from the
|
On the second page you can see a log of CLOG messages, and start Swank from the
|
||||||
REPL. Just connect from Slime using the WiFi IP of the mobile device.
|
REPL. Just connect from Slime using the WiFi IP of the mobile device.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue