mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
989 B
989 B
QML Preview and Slime
(LQML >= 22.2.2, see lqml -v)
If you want to be impressed (I certainly was when I first tried it), do the following:
- edit
lisp/main.lispof an example, and add this line at the end:
(load "~/slime/lqml-start-swank.lisp")
- edit
app.proand changeDEFINESto:
DEFINES += INI_LISP SWANK
-
open
app.proin Qt Creator, and in 'Build Settings' choosebuild/from the example as 'Build directory' -
in the 'Edit' view of Qt Creator choose 'Build / QML Preview' (after a 'Build / Clean')
Now the example should compile and start. You may now select any QML file from the tree view on the left, and any change to QML will be shown immediately in the running app, while you are typing!
Additionally you may now also run M-x slime-connect from Emacs (the Swank
server should already be running, see 'Application Ouput' at the bottom of Qt
Creator).