[Kde-bindings] Re: custom qt derived c++ class example for qtruby

Vincent Batts vbatts at hashbangbash.com
Wed Dec 22 03:14:49 UTC 2010


from the kdebindings/ruby/qtruby/examples/ check out
./examples/dialogs/simplewizard/classwizard.rb
./examples/mainwindows/mdi/mainwindow.rb
they both use QWidget

as for QGraphicsItem, i don't think it is available in qtruby yet.

Take care,
vb
http://hashbangbash.com/



On Tue, Dec 21, 2010 at 9:55 PM, Alex <x37v.alex at gmail.com> wrote:
> Does anyone have a simple example project where you wrap a qt derived
> class, QWidget or QGraphicsItem, .. and use it on the ruby side with
> qtruby?
>
> I figure there are a few steps, the smoke wrapping, probably some code
> or tool to do the ruby wrapping, and compiling... but, it is kind of
> unclear to me how people actually do it.
>
> I have seen a lot of talk of it being possible but I haven't seen any
> actual examples which do it, I figure that would be very useful for a
> number of other folks as well.
>
> Thanks,
> Alex
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
>



More information about the Kde-bindings mailing list