Debian Codegraph @

examples/ecl_qt/README.md

raw symbols SCIP
1 This demo shows how to embed ECL into Qt5 and serve as kernel. This
2 also discuss how to compile ECL with C++(14). You can extend on this
3 demo to form a more complicate and productive project.
4
5 # Preparation
6 Before you build the demo, make sure you have those dependencies installed:
7 1. ECL, of course. We recommend version 16.1.2.
8 2. g++/clang compiler with at least C++14 support.
9 3. make
10 4. Qt5.x with Qt Creator.
11 5. Quicklisp installed on your ECL.
12
13 We use the external Lisp package :lparallel so you better download
14 that package in advance using `(ql:quickload :lparallel)`.
15
16 # Build
17
18 ## Build CL Library and FASB
19
20 Run `make` in current directory and you get two files in the directory
21 `qt/` (if successful). `lisp-envi.a` and
22 `hello-lisp-system--all-systems.fasb`.
23
24 ## Configure and build your Qt Project
25
26 To build the example it is enough to change to the `qt/` directory,
27 generate a Makefile with `qmake` and to call `make`.
28
29 ```shell
30 cd qt/
31 qmake
32 make
33 ```
34
35 If you want to change your Qt project, open it with the `Qt
36 Creator`. It can build the executable for you (instead of manually
37 working with make).
38
39 # Run
40
41 After you go through the steps above, go for the executable file and
42 try that demo.
43
44 Notice: For OSX users, you should manually move the .fasb file into
45 the directory where your executable file is in. So run the command:
46 ```
47 mv hello-lisp-system--all-systems.fasb ecl_qtdemo.app/Contents/MacOS/
48 ```
49
50 Happy hacking with ECL!
51
52 ntr(Lexicall)