<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /tmp/qt-4.3.4-qt-1203442408707/qt-x11-opensource-src-4.3.4/doc/src/examples/tutorial.qdoc --> <head> <title>Qt 4.3: Qt Tutorial</title> <link rel="next" href="tutorial-t1.html" /> <link rel="start" href="index.html" /> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><p> [Next: <a href="tutorial-t1.html">Chapter 1</a>] </p> <h1 align="center">Qt Tutorial<br /><small></small></h1> <p>This tutorial gives an introduction to GUI programming using the Qt toolkit. It 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.</p> <p>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 650-line game.</p> <p>If you're completely new to Qt, please read <a href="how-to-learn-qt.html">How to Learn Qt</a> if you haven't already done so.</p> <p>The tutorial's source code is located in Qt's <tt>examples/tutorial</tt> directory.</p> <p>Tutorial chapters:</p> <ol type="1"> <li><a href="tutorial-t1.html">Hello World!</a></li> <li><a href="tutorial-t2.html">Calling it Quits</a></li> <li><a href="tutorial-t3.html">Family Values</a></li> <li><a href="tutorial-t4.html">Let There Be Widgets</a></li> <li><a href="tutorial-t5.html">Building Blocks</a></li> <li><a href="tutorial-t6.html">Building Blocks Galore!</a></li> <li><a href="tutorial-t7.html">One Thing Leads to Another</a></li> <li><a href="tutorial-t8.html">Preparing for Battle</a></li> <li><a href="tutorial-t9.html">With Cannon You Can</a></li> <li><a href="tutorial-t10.html">Smooth as Silk</a></li> <li><a href="tutorial-t11.html">Giving It a Shot</a></li> <li><a href="tutorial-t12.html">Hanging in the Air the Way Bricks Don't</a></li> <li><a href="tutorial-t13.html">Game Over</a></li> <li><a href="tutorial-t14.html">Facing the Wall</a></li> </ol> <p>This little game doesn't look much like a modern GUI application. It uses a some GUI techniques, but after you've worked through it, we recommend checking out the <a href="mainwindows-application.html">Application</a> example, which presents a small GUI application, with menus, tool bars, a status bar, and so on.</p> <p> [Next: <a href="tutorial-t1.html">Chapter 1</a>] </p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="30%">Copyright © 2008 <a href="trolltech.html">Trolltech</a></td> <td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="30%" align="right"><div align="right">Qt 4.3.4</div></td> </tr></table></div></address></body> </html>