World Library  
Flag as Inappropriate
Email this Article

QtRuby

Article Id: WHEBN0026633651
Reproduction Date:

Title: QtRuby  
Author: World Heritage Encyclopedia
Language: English
Subject: Qt (software), Qt (framework), KDE Platform, Qt Quick, Ruby Document format
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

QtRuby

QtRuby
Stable release 2.2.0 / December 16, 2011 (2011-12-16)
Development status Inactive
Written in Ruby
Operating system Cross-platform
License LGPL 2.1
Website Techbase

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.

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

  • Kubeplayer, a video player dedicated to play online videos.[2]
  • Kaya, a Qt/KDE-based application to play chess, shogi and variants thereof.[3]
  • 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.[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.

References

  1. ^ Development/Languages/Ruby - KDE TechBase
  2. ^ Announcing Kubeplayer
  3. ^ Kaya Project Homepage
  4. ^ "qtbindings / RubyGems". Retrieved 2013-12-12. 
  5. ^ Melton, Ryan. "ryanmelt/qtbindings". 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:
    • Qt4 Tutorial for the Ruby Programming Language
  • Helper applications:
    • Qt4-QtRuby installer for Microsoft Windows
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 



Copyright © World Library Foundation. All rights reserved. eBooks from Hawaii eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.