1
<?xml version="1.0" encoding="iso-8859-1"?>
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/doc/src/how-to-learn-qt.qdoc -->
7
<title>Qt 4.0: How to Learn Qt</title>
8
<style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
9
a:link { color: #004faf; text-decoration: none }
10
a:visited { color: #672967; text-decoration: none }
11
td.postheader { font-family: sans-serif }
12
tr.address { font-family: sans-serif }
13
body { background: #ffffff; color: black; }</style>
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
19
<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="annotated.html"><font color="#004faf">Annotated</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">How to Learn Qt</h1>
21
<p>We assume that you already know C++.</p>
22
<p>The best way to learn Qt is to read the official Qt book, <a href="http://www.amazon.com/exec/obidos/ASIN/0131240722/trolltech/">C++ GUI Programming with Qt 3</a> (ISBN 0-13-124072-2). This book is also available <a href="http://phptr.com/content/images/0131240722/downloads/blanchette_book.pdf">online (PDF, 21.8 MB)</a>. This book provides comprehensive coverage of Qt programming all the way from "Hello Qt" to advanced features like multithreading, 2D and 3D graphics, networking, and XML. The book covers Qt 3; a Qt 4 version of the book is in the works. See <a href="http://www.trolltech.com/developer/books.html">Qt Programming Books</a> for a complete list of Qt books, including translations.</p>
23
<p>If you want to program purely in C++, designing your interfaces in code without the aid of any design tools, read the <a href="tutorial.html">tutorial</a>. The tutorial is designed to get you into Qt programming, with the emphasis on working code rather than being a tour of features.</p>
24
<p>If you want to design your user interfaces using a design tool, then read at least the first few chapters of the <a href="designer-manual.html">Qt Designer manual</a>.</p>
25
<p>By now you'll have produced some small working applications and have a broad feel for Qt programming. You could start work on your own projects straight away, but we recommend reading a couple of key overviews to deepen your understanding of Qt: the <a href="object.html">Qt Object Model</a> and <a href="signalsandslots.html">Signals and Slots</a>.</p>
26
<p>At this point, we recommend looking at the <a href="overviews.html">overviews</a> and reading those that are relevant to your projects. You may also find it useful to browse the source code of the <a href="examples.html">examples</a> that have things in common with your projects. You can also read Qt's source code since this is supplied.</p>
27
<p>If you run the <tt>qtdemo</tt> application, you'll see many of Qt's widgets in action.</p>
28
<p>Qt comes with extensive documentation, with hypertext cross-references throughout, so you can easily click your way to whatever interests you. The part of the documentation that you'll probably use the most is the <a href="index.html">API Reference</a>. Each link provides a different way of navigating the API Reference; try them all to see which work best for you. You might also like to try <a href="assistant-manual.html">Qt Assistant</a>: this tool is supplied with Qt and provides access to the entire Qt API, and it provides a full text search facility. There are also a growing number of <a href="http://www.trolltech.com/developer/books.html">Qt books</a>.</p>
29
<p>Good luck, and have fun!</p>
30
<p /><address><hr /><div align="center">
31
<table width="100%" cellspacing="0" border="0"><tr class="address">
32
<td width="30%">Copyright © 2005 <a href="trolltech.html">Trolltech</a></td>
33
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
34
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
35
</tr></table></div></address></body>