mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-06 02:30:31 -08:00
| .. | ||
| lib.cpp | ||
| lib.h | ||
| README.txt | ||
| run.lisp | ||
| trafficlight.cpp | ||
| trafficlight.h | ||
| trafficlight.pro | ||
This is a simple example of integrating an existing Qt/C++ application BUILD / RUN / CALL ================== qmake make eql5 run.lisp -qtpl ________________________________________ Option 1: (qfun+ *trafficlight* "stop") (qfun+ *trafficlight* "start") ________________________________________ Option 2: (! "stop" (:qt *trafficlight*)) (! "start" (:qt *trafficlight*)) ________________________________________ Option 3: (define-qt-wrappers *trafficlight*) (start *trafficlight*) (stop *trafficlight*) ________________________________________