Development/Tutorials/Qt4 Ruby Tutorial: Difference between revisions
m (Development/Tutorials/qt4-qtruby moved to Development/Tutorials/Qt4 Ruby Tutorial: Now I understand the naming scheme better, and this is a better name.) |
No edit summary |
||
Line 1: | Line 1: | ||
''Author:'' [mailto:[email protected] Darshan Ishaya, [email protected]] | |||
== Qt®4 Tutorial for Ruby == | == Qt®4 Tutorial for Ruby == | ||
Line 8: | Line 10: | ||
[http://doc.trolltech.com/4.2/tutorial.html Qt Tutorial]. | [http://doc.trolltech.com/4.2/tutorial.html Qt Tutorial]. | ||
Therefore, most of the text after this paragraph comes straight from their tutorial. I have modified it as necessary to make it make sense with the Ruby bindings, and have rearranged or rewritten a few parts to make them (I hope) a bit clearer. | Therefore, most of the text after this paragraph comes straight from their tutorial. I have modified it as necessary to make it make sense with the Ruby bindings, and have rearranged or rewritten a few parts to make them (I hope) a bit clearer. | ||
This tutorial doesn't cover everything; the emphasis is on teaching the programming philosophy of GUI programming, and Qt's features are introduced as needed. Some commonly used features are never used in this tutorial. | |||
Chapter one starts with a minimal "Hello world" program and the following chapters introduce new concepts. By Chapter 14, the "Hello world" program from Chapter 1 will have turned into a 448-line game. | |||
If you're completely new to Qt, you might want to read [http://doc.trolltech.com/4.2/how-to-learn-qt.html How to Learn Qt] if you haven't already done so. Keep in mind that like most documents about Qt, it is very C++ oriented. | |||
Right now this tutorial is hosted on my site. I am going to be bringing it over here over the next week or so. | Right now this tutorial is hosted on my site. I am going to be bringing it over here over the next week or so. |
Revision as of 00:24, 17 December 2006
Author: Darshan Ishaya, [email protected]
Qt®4 Tutorial for Ruby
This tutorial gives an introduction to GUI programming using the Qt toolkit, Ruby, and qt4-qtruby. It is simply a port of Trolltech's fine Qt Tutorial. Therefore, most of the text after this paragraph comes straight from their tutorial. I have modified it as necessary to make it make sense with the Ruby bindings, and have rearranged or rewritten a few parts to make them (I hope) a bit clearer.
This tutorial doesn't cover everything; the emphasis is on teaching the programming philosophy of GUI programming, and Qt's features are introduced as needed. Some commonly used features are never used in this tutorial.
Chapter one starts with a minimal "Hello world" program and the following chapters introduce new concepts. By Chapter 14, the "Hello world" program from Chapter 1 will have turned into a 448-line game.
If you're completely new to Qt, you might want to read How to Learn Qt if you haven't already done so. Keep in mind that like most documents about Qt, it is very C++ oriented.
Right now this tutorial is hosted on my site. I am going to be bringing it over here over the next week or so.
You can currently access this tutorial at the following address:
http://www.darshancomputing.com/qt4-qtruby-tutorial/
until it is fully transferred over to this wiki.