QtRuby and Wrapping custom Qt derived C++ classes

A

Alex Norman

I've been working with QtRuby a bit recently and I've come to the point
where I want to investigate wrapping a c++ class [a custom
QGraphicsItem] so that I can instantiate it on the ruby side and use it
with a Qt::GraphicsScene.

Does anyone have an example of this? It would be fine if it was just a
QWidget or some other QT derived class..

Do I need to use smoke? Does everyone create a custom ruby interface
[with the library init etc] or can we use something like swig to do that
for us or does smoke have a way to produce a language specific binding?

Thanks,
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top