#REDIRECT [[Qt (software)#Language bindings]]
<!-- Please do not remove or change this AfD message until the discussion has been closed. -->
{{Article for deletion/dated|page=QtRuby|timestamp=20231214211717|year=2023|month=December|day=14|substed=yes|help=off}}
{{Rcat shell|
<!-- Once discussion is closed, please place on talk page: {{Old AfD multi|page=QtRuby|date=14 December 2023|result='''keep'''}} -->
{{R to related topic}}
<!-- End of AfD message, feel free to edit beyond this point -->
{{Cleanup-rewrite|date=December 2013}}
{{ Infobox Software
| name = QtRuby
| logo =
| screenshot =
| 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 =
| discontinued = yes
| license = [[GNU Lesser General Public License|LGPL 2.1]]
| website = [http://techbase.kde.org/Development/Languages/Ruby Techbase]
}}
'''QtRuby''' is a binding of the application framework [[Qt (framework)|Qt]] for [[Ruby (programming language)|Ruby]]. '''Korundum''' is an additional set of bindings for [[KDE]] which extend QtRuby.
QtRuby is [[cross-platform]], as all the underlying technologies are platform agnostic.
== QtRuby hello world ==
<syntaxhighlight lang="ruby">
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(200, 30)
hello.show
app.exec
</syntaxhighlight>
The Korundum documentation<ref>[http://techbase.kde.org/Development/Languages/Ruby Development/Languages/Ruby - KDE TechBase]</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://blog.riemann.cc/2010/12/18/announcing_kubeplayer/ Announcing Kubeplayer]</ref>
* Kaya, a Qt/KDE-based application to play chess, shogi and variants thereof.<ref>{{Cite web |url=http://paolocapriotti.com/kaya/ |title=Kaya Project Homepage |access-date=2012-07-23 |archive-url=https://web.archive.org/web/20120724073316/http://paolocapriotti.com/kaya/ |archive-date=2012-07-24 |url-status=dead }}</ref>
* Yast 2, [OpenSUSE] control center
==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.<ref>{{cite web | url = http://rubygems.org/gems/qtbindings | title = qtbindings / RubyGems | access-date = 2013-12-12}}</ref> 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.<ref>{{cite web | url = https://github.com/ryanmelt/qtbindings | title = ryanmelt/qtbindings | access-date = 2013-12-12 | last = Melton | first = Ryan| website = [[GitHub]] }}</ref> As of December 2013, it supports Ruby 2.0 and 1.9, but not 1.8.
==References==
{{Reflist}}
== External links ==
* {{official|http://techbase.kde.org/Development/Languages/Ruby}}
{{Qt}}
{{KDE}}
{{Widget toolkits}}
{{Ruby programming language}}
[[Category:KDE Platform]]
[[Category:Qt (software)]]
[[Category:Ruby (programming language)]]
[[Category:Widget toolkits]]
|