M
Michael Gebhart
Hi,
I've tried to use Qt with ruby. It seems to be really a killer app. So I
installed kdebindings-3.3 and wrote my first programm:
#!/usr/bin/ruby -w
require 'Qt'
a = Qt::Application.new(ARGV)
hello = Qt:ushButton.new("Hello World!", nil)
hello.resize(100, 30)
a.mainWidget = hello
hello.show()
a.exec()
Now, if I try to start the program it hangs up. I also tried other programs,
but when using require 'Qt' my program does not do anything. It hangs and I
can kill it only. Any idea what's happening here?
Thanks
Mike
I've tried to use Qt with ruby. It seems to be really a killer app. So I
installed kdebindings-3.3 and wrote my first programm:
#!/usr/bin/ruby -w
require 'Qt'
a = Qt::Application.new(ARGV)
hello = Qt:ushButton.new("Hello World!", nil)
hello.resize(100, 30)
a.mainWidget = hello
hello.show()
a.exec()
Now, if I try to start the program it hangs up. I also tried other programs,
but when using require 'Qt' my program does not do anything. It hangs and I
can kill it only. Any idea what's happening here?
Thanks
Mike