ryanmelt / qtbindings

An easy to install gem version of the Ruby bindings to Qt
http://github.com/ryanmelt/qtbindings
Other
340 stars 63 forks source link

Unable to require 'Qt' #91

Closed LillBoyWalky closed 10 years ago

LillBoyWalky commented 10 years ago

Hi,

I'm using Ruby 1.9.3 on Windows 7, 32-Bit. I installed qtbindings using the following command : gem install qtbindings The process completed without any error. Later, I tried to test whether the gem had installed properly or not by running : require ‘Qt’ in irb. But I get the following error : NameError : uninitialized constant Qt::RubyThreadFix::Queue.

Incidently, when I test : require ‘qtuitools’, irb returns => true.

Have I missed a step? How could I fix it?

jmthomas commented 10 years ago

This is fixed on Ruby 2.0 but if you require 'thread' first you should be able to require 'qt' ok.