mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
fix cpp-lib example for Slime
This commit is contained in:
parent
2e67185cd2
commit
e09778b76c
5 changed files with 34 additions and 30 deletions
|
|
@ -2,10 +2,11 @@
|
|||
Build
|
||||
-----
|
||||
|
||||
Switch to `cpp/` and do:
|
||||
```
|
||||
qmake lib.pro
|
||||
make
|
||||
$ cd cpp
|
||||
$ qmake lib.pro
|
||||
$ make
|
||||
$ cd ..
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -14,7 +15,6 @@ Run
|
|||
|
||||
```
|
||||
$ lqml ~/slime/qml-start-swank.lisp
|
||||
|
||||
$ emacs run.lisp
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
(define-qt-wrappers *cpp*)
|
||||
|
||||
(print (hello *cpp* '(1 "two" (1.25 #(50 -50 75)))))
|
||||
;; qrun* needed in Slime (not running on UI thread)
|
||||
|
||||
(qrun* (print (hello *cpp* '(1 "two" (1.25 #(50 -50 75))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue