Hi,
I'm a beginner at kubuntu. I moved to kubuntu because I want to learn QtRuby, but it seems like there's some complication.
First of all I installed all the packages that *looks* like they relates to Qt and Ruby. But after I installed all those packages (using Adept Manager), I simply can't confirm whether they've been installed or not. Because there is nothing new in the Application Menu. I double checked and Adept manager said that everything I chose had been installed. Now I can't find QtDesigner anywhere?
And also, I've installed the libraries I thought are needed for QtRuby. Here's my Hello World program:
I ran it using "ruby helloworld.rb" and here's the message returned:
I really don't know what I've been missing. Could you please help me with it?
I'm a beginner at kubuntu. I moved to kubuntu because I want to learn QtRuby, but it seems like there's some complication.
First of all I installed all the packages that *looks* like they relates to Qt and Ruby. But after I installed all those packages (using Adept Manager), I simply can't confirm whether they've been installed or not. Because there is nothing new in the Application Menu. I double checked and Adept manager said that everything I chose had been installed. Now I can't find QtDesigner anywhere?
And also, I've installed the libraries I thought are needed for QtRuby. Here's my Hello World program:
Code:
require 'Qt' app = Qt::Application.new(ARGV) label = Qt::Label.new("Hello World", nil) label.resize(150,30) app.setMainWidget(label) label.show() app.exec
Code:
helloworld.rb:5:in `method_missing': undefined method `setMainWidget' for #<Qt::Application:0xb637367c objectName="helloworld.rb"> (NoMethodError) from helloworld.rb:5
Comment