---- Graham Smith <gqs@westnet.com.au> wrote:
Hi,
I'm just starting to try and program using Qt and ruby using kdevelop version 3.3.3 on SuSE 10.0.
As a starter I'm trying to get a very simple application working as per http://www.kdevelop.org/doc/technotes/rubyrad.html
Now either I'm doing something wrong or there is something missing in the steps shown in the above document. On building the project the button does not appear on the window. The button widget does not appear to be created in any of the files.
Does anyone know what I'm doing wrong.
-- Regards,
Graham Smith
I don't know anything about Ruby, but out of curiosity I checked out the example using Kdevelop 3.3.1 on SUSE 9.2. I found that when I changed the name of the form to MainBase, it did not get updated in the mainbase.ui file. I ended up changing the line: class MainImpl < Form1 to class MainImpl < MainBase. This made the pushbutton show up. Hope this helps, Eric
On Sunday 25 June 2006 11:55, eriic1@cox.net wrote:
---- Graham Smith <gqs@westnet.com.au> wrote:
Hi,
I'm just starting to try and program using Qt and ruby using kdevelop version 3.3.3 on SuSE 10.0.
As a starter I'm trying to get a very simple application working as per http://www.kdevelop.org/doc/technotes/rubyrad.html
Now either I'm doing something wrong or there is something missing in the steps shown in the above document. On building the project the button does not appear on the window. The button widget does not appear to be created in any of the files.
Does anyone know what I'm doing wrong.
-- Regards,
Graham Smith
I don't know anything about Ruby, but out of curiosity I checked out the example using Kdevelop 3.3.1 on SUSE 9.2. I found that when I changed the name of the form to MainBase, it did not get updated in the mainbase.ui file. I ended up changing the line:
class MainImpl < Form1 to class MainImpl < MainBase.
This made the pushbutton show up.
Hope this helps,
Eric
Thanks for your help. Well I eventually got the dam thing working. For some reason the mainbase.ui was not being saved properly. It only contained the initial screen and no widgets were being saved to the file. I ended up re-installing all the rpms associated with kdevelop, qt and ruby and the program now operates properly. Now to start getting some programming done! -- Regards, Graham Smith
participants (2)
-
eriic1@cox.net
-
Graham Smith