|
2 years ago | |
---|---|---|
chapters | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
book-of-qt4.asd | 2 years ago | |
package.lisp | 2 years ago |
This repository contains the examples of the Book of QT
4 by Daniel Molkentin translated to
Common Lisp using the qtools
package. The examples are in the respective chapter subfolder of the
chapters
folder. The filename includes the chapter and section
numbers of the example in the book and should be
self-explanatory. Each example resides in its own file and its own
package and is invoked with the (main)
function defined in that
package.
If using quicklisp, link or put the book-of-qt4 Folder into ~/quicklisp/local-projects/, or make this folder visible to asdf.
Load the examples with (ql:quickload "book-of-qt4")
.
Either open a file in the directory of a chapter, go to the bottom
and eval the commented-out (main)
, or evaluate
(<package-name>:main)
in the REPL (replace <package name>
with
the package name of the example to execute. The package-name appears
in the defpackage
declaration on top of each example file).