HOME

TheInfoList



OR:

QtRuby is a binding of the application framework Qt for
Ruby A ruby is a pinkish red to blood-red colored gemstone, a variety of the mineral corundum ( aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called ...
. Korundum is an additional set of bindings for
KDE KDE is an international free software community that develops free and open-source software. As a central development hub, it provides tools and resources that allow collaborative work on this kind of software. Well-known products include the ...
which extend QtRuby. QtRuby is
cross-platform In computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several computing platforms. Some cross-platform software ...
, 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 proposes a more "rubyish" version of this program.


Notable applications that use QtRuby

* Kubeplayer, a video player dedicated to play online videos. * Kaya, a Qt/KDE-based application to play chess, shogi and variants thereof. * Yast 2, penSUSEcontrol center


Status and maintenance

Currently, QtRuby is maintained (if at all) as part of Korundum. A third-party implementation, named "qtbindings" in the
Rubygems RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem"), a tool designed to easily manage the installation of gems ...
repository, has been made due to the lack of active development. 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 Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, w ...
systems. As of December 2013, it supports Ruby 2.0 and 1.9, but not 1.8.


References


External links

* {{Ruby programming language KDE Platform Qt (software) Ruby (programming language) Widget toolkits