This article may need to be rewritten to comply with Wikipedia's quality standards. (December 2013) |
QtRuby is a binding of the application framework Qt for the programming language Ruby. Korundum is an additional set of bindings for the desktop environment KDE.
QtRuby | |
---|---|
Stable release | 2.2.0
/ December 16, 2011 |
Repository | |
Written in | Ruby |
Operating system | Cross-platform |
License | LGPL 2.1 |
Website | http://techbase.kde.org/Development/Languages/Ruby |
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
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show
app.exec
The Korundum documentation[1] proposes a more "rubyish" version of this program.
Notable applications that use QtRuby
Status and Maintenance
Currently, QtRuby is maintained (if at all) as part of Korundum. Binary packages (for Debian, Fedora, ...) are stuck at Ruby 1.8. The source release qt4-qtruby-2.2.0 of December 2011 supports Ruby 1.9 as well as 1.8.
A third-party implementation, named "qtbindings" in the Rubygems repository, has been made due to the lack of active development.[4] Goals of the project include keeping an up-to-date version of the Qt framework for Ruby, as well as improving compatibility with Unix-like systems.[5] As of December 2013, it supports Ruby 2.0 and 1.9, but not 1.8.
References
- ^ Development/Languages/Ruby - KDE TechBase
- ^ Announcing Kubeplayer
- ^ Kaya Project Homepage
- ^ Melton, Ryan. "ryanmelt/qtbindings". Retrieved 2013-12-12.
- ^ "qtbindings / RubyGems". Retrieved 2013-12-12.
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):
- Documentation:
- Helper applications: