#REDIRECT [[Qt (software)#Language bindings]]
{{ Infobox Software
| name = QtRuby
{{Rcat shell|
| logo =
{{R to related topic}}
| screenshot =
{{r hist}}
| caption =
| developer =
| latest release version = 2.2.0
| latest release date = {{release date and age|2011|12|16}}
| latest preview version =
| latest preview date =
| operating system = [[Cross-platform]]
| programming language = [[Ruby (programming language)|Ruby]]
| genre =
| license = [[GNU Lesser General Public License|LGPL]]
| website = http://techbase.kde.org/Development/Languages/Ruby
}}
'''QtRuby''' is a binding of the application framework [[Qt (framework)|Qt]] for the programming language [[Ruby (programming language)|Ruby]]. '''Korundum''' is an additional set of bindings for the desktop environment [[KDE]].
Since the underlying technologies Ruby, Qt, and KDE are cross-platform, so is QtRuby. It supports [[Linux]] and other flavours of [[Unix]], as well as [[Mac OS X]] and [[Microsoft Windows]].
== QtRuby hello world ==
<source lang="ruby">
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show
app.exec
</source>
The Korundum documentation<ref>http://techbase.kde.org/Development/Languages/Ruby</ref> proposes a more "rubyish" version of this program.
==Notable applications that use QtRuby==
* [[Kubeplayer]], a video player dedicated to play online videos.<ref>[http://salout.github.com/blog/2010/12/18/announcing_kubeplayer.html Announcing Kubeplayer]</ref>
* [[Kaya (game)|Kaya]], a Qt/KDE-based application to play chess, shogi and variants thereof.<ref>[http://paolocapriotti.com/kaya/ Kaya Project Homepage]</ref>
==Status and Maintenance==
Currently, QtRuby is maintained (if at all) as part of Korundum. Binary packages (for Debian, Fedora, ...) are stuck at Ruby1.8. The source release qt4-qtruby-2.2.0 of December 2011 supports Ruby1.9 as well as 1.8.
==References==
{{Reflist}}
== External links ==
* Official web sites:
** http://techbase.kde.org/Development/Languages/Ruby Home page, with some documentation and useful links
** http://rubyforge.org/projects/korundum/ Download ___location
* Communication channels (very low traffic):
** [irc://irc.freenode.net/qtruby #qtruby]
** [https://mail.kde.org/mailman/listinfo/kde-bindings QtRuby maillist]
* Documentation:
** [http://www.darshancomputing.com/qt4-qtruby-tutorial/ Qt4 Tutorial for the Ruby Programming Language]
* Helper applications:
** [https://vision.eng.shu.ac.uk/mmvl/viewfinder/qt4_qtruby_installer_for_microsoft_windows.html Qt4-QtRuby installer for Microsoft Windows]
{{Qt}}
{{KDE}}
{{Widget toolkits}}
{{Ruby programming language}}
{{DEFAULTSORT:Qtruby}}
[[Category:Qt (framework)]]
[[Category:Ruby programming language]]
[[Category:KDE Platform]]
|