EQL5/Qt_EQL/trafficlight
2019-02-27 21:47:39 +01:00
..
lib.cpp port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
lib.h for MinGW: change "Q_OS_WIN" to "Q_CC_MSVC" (otherwise MinGW won't link plugins) 2017-02-21 10:06:50 +01:00
README.txt add example "video-graphics-item"; add QIdentityProxyModel, QItemEditorCreatorBase; various revisions; 2016-12-20 16:40:05 +01:00
run.lisp make 'eql5' executable independant from source installation (e.g. for eql5 -qgui, Slime) 2019-02-27 21:47:39 +01:00
trafficlight.cpp port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
trafficlight.h port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
trafficlight.pro small revision of '.pro' files 2017-03-04 11:41:32 +01:00

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*)
________________________________________