[commonqt-devel] Signal arguments of user defined Lisp types

Stas Boukarev stassats at gmail.com
Wed Jan 29 22:58:02 UTC 2014


Chong Kai Xiong <kaixiong at codeleft.sg> writes:

> Hello list,
>
> Is it possible to define Qt signals that have arguments of user-defined
> Lisp types e.g. structures?
>
> I tried the signature "move(coord,coord)", where "coord" is a Lisp
> structure representing a pair of board coordinates but SBCL 1.1.14
> throws the runtime error:
>
>   "No smoke type found for dynamic member arg type coord.  Giving up."
>
> Perhaps this could be done using a Smoke recognised type such as QPoint,
> but I would like to know the answer to the general question.
It would be possible to add such functionality, but it won't be
efficient.

-- 
With best regards, Stas.



More information about the commonqt-devel mailing list