Did you look at the code of the example "clock.lisp"? It uses e.g
"drawLine", "drawEllipse".
To learn more about graphics in Qt, search for QPainter and
QGraphicsView in Qt Assistant.
Paul
Please note:
1) Only for the OpenGL example you need some external packages (like
alexandria...)
2) SLIME is only needed for interactive development (that is, having a
REPL while a program is running, processing Qt events)
> In Emacs by loading SLIME error:
> After "M-x SLIME":
> ;;; Error:
> ;;; * The C compiler failed to compile the intermediate file.;;
> ;; Error while compiling c:/emacs/slime/swank-backend.lisp:
> ;; COMPILE-FILE returned NIL.
Did you try with the original "swank-backend.lisp" file, or did you
apply the patch for EQL?
Please try with the original swank-backend.lisp first, and only if
this works, apply the EQL patch and try again.
> Examples f.e.
> (load "c:/ecl/eql/examples/1-hello-world.lisp")
> by running appear windows and hang up.
OK, you need to run the examples like this:
C:\eql\eql.exe examples/1-hello-world
That is, don't run EQL and then call LOAD, as this will *not* process
Qt events (that is, the program "freezes", even in summer).
Instead, start EQL and pass the file as command line argument, as in
the example above.
(And please note that you need a slash / and not a backslash \ in
"examples/1-hello-world".)
Paul
Yes, sorry (I should have thought about that), attached you find the
whole thing.
Paul
Oh, I forgot to mention that you need the new version of EQL from today:
eql.exe --version
should give: EQL 10.12.2 (or use (QVERSION) while running EQL).
So, please download & build the new version from today (please read
the eql/README.txt for the "rebuild" instructions).
Paul
Sorry, I don't know Lisp Cabinet.
Maybe you should ask its author, his mail address is at the bottom of this page:
http://lispcabinet.sourceforge.net/
Paul
variant 1:
eql.exe --version
variant 2: (will print both EQL and Qt version)
> (eql:qversion)
> 3. (qq) - fall out
> eql> eql - fall uot
> (load "c:/ecl/eql/examples/9-simple-lisp-editor/editor.lisp") - not
> find file from qgui
It's simple:
- make sure you have the EQL directory in your Path environment
variable (the directory containing both eql.exe and eql.dll)
- change to the directory of the example:
cd C:\eql\examples\9-simple-lisp-editor
- start the editor with:
eql.exe run.lisp
Paul