|
From: Scott D. <sco...@gm...> - 2015-07-10 14:53:38
|
I recently asked Qt support about a set of typemaps for Qt 5 for SWIG. Here is the response: I am afraid there is nothing much we can do about it, Swig is not our > product > and we dont support it. I understand that you want to Qt and Swig > together, I > believe Swig will have to add Qt's type so that it can be used together. > I believe best is to ask Swig support team for this. When people ask about wrapping Qt in SWIG, the usual answers are either "use SIP/PySide/... instead" or "it can't be too different from std...". The first is not a bad answer for Python, but for developers who want to generate bindings for something else, there doesn't appear to be an answer. The SWIG documentation even mentions an old version of Qt support in the OCaml section (31.2.4.2 in the 3.0 manual). Any chance that somebody with some serious typemap chops would be willing to take a crack at it? |