[Kde-bindings] Qyoto: SIGNALS/SLOTS

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Dec 22 14:54:35 UTC 2005

On Thursday 22 December 2005 13:48, Arno Rehn wrote:
> > What goes wrong with QtRuby - it would be easier to have it working to
> > compare Qyoto against?
> I tried to execute t1 of the toutorials:
> .../qtruby/rubylib/tutorial/t1> ruby t1.rb
> /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:477:in `create_qt_class':
> ByteArray is already defined (NameError)
>         from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:477:in `init_class'
>         from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:745:in
> `init_all_classes'
>         from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:740:in `each'
>         from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:740:in
> `init_all_classes'
I think this means your Smoke library is out of step with the version of 
QtRuby that you are using. QByteArray is now a proper class in the Smoke 
runtime, when it used to be like QString which is marshalled to a native 
string for the bindings language. So for Qyoto, a QString would be a C# 
string, and a QByteArray would be a C# QByteArray.

-- Richard

More information about the Kde-bindings mailing list