fix cpp-lib example for Slime

This commit is contained in:
pls.153 2022-01-22 21:56:51 +01:00
parent 2e67185cd2
commit e09778b76c
5 changed files with 34 additions and 30 deletions

View file

@ -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
```

View file

@ -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))))))