[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: Re: [Kde-bindings] Qyoto: SIGNALS/SLOTS
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2005-12-22 14:07:30
Message-ID: 200512221454.35650.Richard_Dale () tipitina ! demon ! co ! uk
[Download RAW message or body]
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
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic