QtRuby
QtRuby is a binding of the application framework Qt for Ruby. Korundum is an additional set of bindings for KDE which extend QtRuby.
Stable release | 2.2.0
/ December 16, 2011 |
---|---|
Repository | ![]() |
Written in | Ruby |
Operating system | Cross-platform |
License | LGPL 2.1 |
Website | Techbase |
QtRuby is cross-platform, as all the underlying technologies are platform agnostic.
QtRuby hello world
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(200, 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.
A third-party implementation, named "qtbindings" in the Rubygems repository, has been made due to the lack of active development.[4] Stated goals of the project include keeping an up-to-date version of the Qt framework for Ruby, as well as improving compatibility with non-Linux systems.[5] As of December 2013, it supports Ruby 2.0 and 1.9, but not 1.8.
gollark: Actually, OOP stands for object oriented programming.
gollark: It does have a cool code.
gollark: ... Maybe? Depends on whether I get more offers or not.
gollark: Which silver egg do you speak of?
gollark: For if you do leave, you shall come back to enter the raffle or something.
References
- Development/Languages/Ruby - KDE TechBase
- Announcing Kubeplayer
- "Kaya Project Homepage". Archived from the original on 2012-07-24. Retrieved 2012-07-23.
- "qtbindings / RubyGems". Retrieved 2013-12-12.
- Melton, Ryan. "ryanmelt/qtbindings". Retrieved 2013-12-12.
External links
- Official websites:
- http://techbase.kde.org/Development/Languages/Ruby - home page, with some documentation and useful links
- https://archive.is/20120628224903/http://rubyforge.org/projects/korundum/ - download location
- Communication channels (very low traffic):
- Documentation:
- Helper applications:
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.