[Kde-bindings] Qyoto: SIGNALS/SLOTS

Arno Rehn arno at arnorehn.de
Fri Dec 23 22:17:05 UTC 2005


Am Donnerstag, 22. Dezember 2005 18:40 schrieb Richard Dale:
> On Thursday 22 December 2005 16:01, Arno Rehn wrote:
> > Am Donnerstag, 22. Dezember 2005 15:54 schrieb Richard Dale:
> > > 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.
> >
> > Hmm - I compiled both from the same tarball (kdebindings-3.4.2, as I have
> > KDE 3.4.2 ;) ). That shouldn't be a problem.
>
> What do you get if you type 'rbqtapi Qt::ByteArray' on the command line? If
> it is in the Smoke library, it means QtRuby is older than Smoke.

This is what I get:

arno at arnolinux:~> rbqtapi Qt::ByteArray
/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'

-- 
MfG
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list