[Kde-bindings] Qyoto: SIGNALS/SLOTS

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Dec 22 17:40:22 UTC 2005


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.

-- Richard



More information about the Kde-bindings mailing list