Forum: Ruby qtruby problem, can't show rescourcefile

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
1685f91cc5853eb465ca50aa68b91421?d=identicon&s=25 anansi (Guest)
on 2007-06-08 15:51
(Received via mailing list)
I created with the qtdesigner a MainWindowForm and saved it as *.ui then
I converted it with rbuic to a ruby recoursefile named win.rb and I'm
trying to use it with trunk.rb but I'm always getting this fanzy

y$ ruby trunk.rb
/usr/lib/ruby/1.8/Qt/qtruby.rb:1186:in `==': undefined method `to_i' for
true:TrueClass (NoMethodError)
         from /usr/lib/ruby/1.8/Qt/qtruby.rb:931:in `initialize'
         from /usr/lib/ruby/1.8/Qt/qtruby.rb:1367:in `call'
         from /usr/lib/ruby/1.8/Qt/qtruby.rb:1367:in `try_initialize'
         from /usr/lib/ruby/1.8/Qt/qtruby.rb:1366:in `catch'
         from /usr/lib/ruby/1.8/Qt/qtruby.rb:1366:in `try_initialize'
         from ./win.rb:132:in `new'
         from ./win.rb:132:in `initialize'
         from trunk.rb:7:in `initialize'
         from trunk.rb:15:in `new'
         from trunk.rb:15

something seems wrong with my trunk.rb but I can't figure out what. Can
someone of you help?
This topic is locked and can not be replied to.