Ruby GUI Libs

N

ntwrkd

Is there a nicer GUI framework for Ruby other than RubyGoo?
I'm sure this question gets asked a lot, but has anyone used QT for
their GUI library with Ruby?

Also, what is the best way to bundle a Ruby app into an executable
installer for Mac/PC/Linux?
 
S

Shawn Anderson

[Note: parts of this message were removed to make it a legal post.]

rubygoo is made as an add-on to rubygame or gosu. There are way better
toolkits for doing general application development. Take a look at
monkeybars, shoes, or other bindings wx, fx, tk, and yes, I think there are
qt bindings.

/Shawn
 
P

Pierre Pierre

If you are looking for a desktop app GUI library, I'd suggest wxRuby2.
If you are looking for a lib to make some cool/funny looking app, I'd
then suggest Shoes.

Though, I'm suggesting these two, because these are the two I like to
use!
 
S

Stefano Crocco

Alle Saturday 21 March 2009, ntwrkd ha scritto:
I'm sure this question gets asked a lot, but has anyone used QT for
their GUI library with Ruby?

If you mean Qt (http://www.qtsoftware.com, I believe QT stands for QuickTime),
then yes. I'm using it and find it great. I started using Qt programming in
C++ and went on using it when I switched to ruby.

You can find more information on the Qt ruby bindings at its rubyforge page
(http://rubyforge.org/projects/korundum) or at its homepage
(http://techbase.kde.org/Development/Languages/Ruby).

The only problem is that there hasn't been an official, stand-alone release of
QtRuby for linux for the last 3 years and for windows since june 2008. If
you're on linux and use KDE 4, you can install a much more recent (and
improved) version using the KDE 4 packages provided by your distribution; if
you're on linux but don't use KDE, you can download the source code for
kdebindings from the kde home page and compile it, excluding all KDE parts. I
think you can do something similar even if you're on windows, but I don't know
how to do that, since I don't use windows.

Stefano
 
S

Stefano Crocco

Alle Monday 23 March 2009, Eric Jacoboni ha scritto:
Nope. Qt isn't related to QuickTime at all. Qt is the Trolltech toolkit
(used by KDE desktop).

I know. What I meant (and reading that sentence again, I understand it is not
very clear) is that I believe QT (both capital letters) means QuickTime, while
Qt (only capital Q) is the Trolltech toolkit of which I speak in the rest of
my post.

Stefano
 
R

richard.j.dale

Alle Saturday 21 March 2009, ntwrkd ha scritto:


If you mean Qt (http://www.qtsoftware.com, I believe QT stands for QuickTime),
then yes. I'm using it and find it great. I started using Qt programming in
C++ and went on using it when I switched to ruby.

You can find more information on the Qt ruby bindings at its rubyforge page
(http://rubyforge.org/projects/korundum) or at its homepage
(http://techbase.kde.org/Development/Languages/Ruby).

The only problem is that there hasn't been an official, stand-alone release of
QtRuby for linux for the last 3 years and for windows since june 2008. If
you're on linux and use KDE 4, you can install a much more recent (and
improved) version using the KDE 4 packages provided by your distribution;if
you're on linux but don't use KDE, you can download the source code for
kdebindings from the kde home page and compile it, excluding all KDE parts. I
think you can do something similar even if you're on windows, but I don'tknow
how to do that, since I don't use windows.
I do intend to do a new release 'real soon now', QtRuby 2.x really is
ready now and I just need to package it up and put it on the RubyForge
site. The have been a lot of improvements as Stefano says and a new
release is certainly long overdue.

-- Richard
 
J

Jan Pilz

We're using QtRuby bindings 1.4.10 on Windows and Linux and it works
very good for us ;)
I don't know whats the big difference between 1.4 and 2.x and im ready
to create a new Windows gem when qtruby 2.x is released ;)

I do intend to do a new release 'real soon now', QtRuby 2.x really is
ready now and I just need to package it up and put it on the RubyForge
site. The have been a lot of improvements as Stefano says and a new
release is certainly long overdue.

-- Richard


--
Otto Software Partner GmbH

Jan Pilz (e-mail: (e-mail address removed))

Tel. 0351/49723202, Fax: 0351/49723119
01067 Dresden, Freiberger Straße 35 - AG Dresden, HRB 2475
Geschäftsführer: Burkhard Arrenberg, Jens Gruhl
 
T

Thorsten Hater

In my experience the Qt bindings are quite nice to use, especially with the
Designer generated XML files, which are compiled into ruby-files.
But there are some ugly spots to the bindings as well, first of all
the installation process is not as easy as it should be.
On my MacBook as well as on a Fedora desktop it failed out of the
box and took some work to fix. The usage of cmake as a build
system is not the best choice in my opion either.
Second the actual use of the bindings is not very ruby-like.
Regarding this I'm trying wxruby2 at the moment, which seems more
convenient to me.

Thorsten
 
C

Charles Oliver Nutter

ntwrkd said:
Is there a nicer GUI framework for Ruby other than RubyGoo?
I'm sure this question gets asked a lot, but has anyone used QT for
their GUI library with Ruby?

Lots of people are using JRuby + Swing now. There's probably 6 different
Ruby wrappers for Swing, and the same app works everywhere. For a full
MVC app use MonkeyBars.
Also, what is the best way to bundle a Ruby app into an executable
installer for Mac/PC/Linux?

Rawr for JRuby packages your whole application up very nicely.

- Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,044
Latest member
RonaldNen

Latest Threads

Top