Hi Mark,

I don't think SWIG supports generating C from C++ or vice versa. Its
website says
it can parse to XML, but that might not be very useful since Qt is so
strict on its
code style rules <https://wiki.qt.io/Qt_Coding_Style>.

About the hourglass pattern, I'll put features that require more recent
versions of C
inside #ifdef statements so that older versions of C can still use the
library, but it will
mean that versions before C11 will have to type the full names of
overloaded functions,
which will look like this:

QPushButton_new_QIcon_QString_QObject(myicon, mystr, mywindow);
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to