| 1 | /****************************************************************************
|
|---|
| 2 | **
|
|---|
| 3 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 4 | ** Contact: Qt Software Information (qt-info@nokia.com)
|
|---|
| 5 | **
|
|---|
| 6 | ** This file is part of the documentation of the Qt Toolkit.
|
|---|
| 7 | **
|
|---|
| 8 | ** $QT_BEGIN_LICENSE:LGPL$
|
|---|
| 9 | ** Commercial Usage
|
|---|
| 10 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
|---|
| 11 | ** accordance with the Qt Commercial License Agreement provided with the
|
|---|
| 12 | ** Software or, alternatively, in accordance with the terms contained in
|
|---|
| 13 | ** a written agreement between you and Nokia.
|
|---|
| 14 | **
|
|---|
| 15 | ** GNU Lesser General Public License Usage
|
|---|
| 16 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
|---|
| 17 | ** General Public License version 2.1 as published by the Free Software
|
|---|
| 18 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
|---|
| 19 | ** packaging of this file. Please review the following information to
|
|---|
| 20 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
|---|
| 21 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|---|
| 22 | **
|
|---|
| 23 | ** In addition, as a special exception, Nokia gives you certain
|
|---|
| 24 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
|---|
| 25 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
|---|
| 26 | ** package.
|
|---|
| 27 | **
|
|---|
| 28 | ** GNU General Public License Usage
|
|---|
| 29 | ** Alternatively, this file may be used under the terms of the GNU
|
|---|
| 30 | ** General Public License version 3.0 as published by the Free Software
|
|---|
| 31 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
|---|
| 32 | ** packaging of this file. Please review the following information to
|
|---|
| 33 | ** ensure the GNU General Public License version 3.0 requirements will be
|
|---|
| 34 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
|---|
| 35 | **
|
|---|
| 36 | ** If you are unsure which license is appropriate for your use, please
|
|---|
| 37 | ** contact the sales department at qt-sales@nokia.com.
|
|---|
| 38 | ** $QT_END_LICENSE$
|
|---|
| 39 | **
|
|---|
| 40 | ****************************************************************************/
|
|---|
| 41 |
|
|---|
| 42 | /*!
|
|---|
| 43 | \page how-to-learn-qt.html
|
|---|
| 44 | \brief Links to guides and resources for learning Qt.
|
|---|
| 45 | \title How to Learn Qt
|
|---|
| 46 | \ingroup howto
|
|---|
| 47 |
|
|---|
| 48 | We assume that you already know C++ and will be using it for Qt
|
|---|
| 49 | development. See the \l{Qt website} for more information about
|
|---|
| 50 | using other programming languages with Qt.
|
|---|
| 51 |
|
|---|
| 52 | The best way to learn Qt is to read the official Qt book,
|
|---|
| 53 | \l{http://www.amazon.com/gp/product/0132354160/ref=ase_trolltech/}{C++
|
|---|
| 54 | GUI Programming with Qt 4, Second Edition} (ISBN 0-13-235416-0). This book
|
|---|
| 55 | provides comprehensive coverage of Qt programming all the way
|
|---|
| 56 | from "Hello Qt" to advanced features such as multithreading, 2D and
|
|---|
| 57 | 3D graphics, networking, item view classes, and XML. (The first edition,
|
|---|
| 58 | which is based on Qt 4.1, is available
|
|---|
| 59 | \l{http://www.qtrac.eu/C++-GUI-Programming-with-Qt-4-1st-ed.zip}{online}.)
|
|---|
| 60 |
|
|---|
| 61 | If you want to program purely in C++, designing your interfaces
|
|---|
| 62 | in code without the aid of any design tools, take a look at the
|
|---|
| 63 | \l{Tutorials}. These are designed to get you into Qt programming,
|
|---|
| 64 | with an emphasis on working code rather than being a tour of features.
|
|---|
| 65 |
|
|---|
| 66 | If you want to design your user interfaces using a design tool, then
|
|---|
| 67 | read at least the first few chapters of the \l{Qt Designer manual}.
|
|---|
| 68 |
|
|---|
| 69 | By now you'll have produced some small working applications and have a
|
|---|
| 70 | broad feel for Qt programming. You could start work on your own
|
|---|
| 71 | projects straight away, but we recommend reading a couple of key
|
|---|
| 72 | overviews to deepen your understanding of Qt: \l{Qt Object Model}
|
|---|
| 73 | and \l{Signals and Slots}.
|
|---|
| 74 |
|
|---|
| 75 | At this point, we recommend looking at the
|
|---|
| 76 | \l{All Overviews and HOWTOs}{overviews} and reading those that are
|
|---|
| 77 | relevant to your projects. You may also find it useful to browse the
|
|---|
| 78 | source code of the \l{Qt Examples}{examples} that have things in
|
|---|
| 79 | common with your projects. You can also read Qt's source code since
|
|---|
| 80 | this is supplied.
|
|---|
| 81 |
|
|---|
| 82 | \table
|
|---|
| 83 | \row \o \inlineimage qtdemo-small.png
|
|---|
| 84 | \o \bold{Getting an Overview}
|
|---|
| 85 |
|
|---|
| 86 | If you run the \l{Examples and Demos Launcher}, you'll see many of Qt's
|
|---|
| 87 | widgets in action.
|
|---|
| 88 |
|
|---|
| 89 | The \l{Qt Widget Gallery} also provides overviews of selected Qt
|
|---|
| 90 | widgets in each of the styles used on various supported platforms.
|
|---|
| 91 | \endtable
|
|---|
| 92 |
|
|---|
| 93 | Qt comes with extensive documentation, with hypertext
|
|---|
| 94 | cross-references throughout, so you can easily click your way to
|
|---|
| 95 | whatever interests you. The part of the documentation that you'll
|
|---|
| 96 | probably use the most is the \link index.html API
|
|---|
| 97 | Reference\endlink. Each link provides a different way of
|
|---|
| 98 | navigating the API Reference; try them all to see which work best
|
|---|
| 99 | for you. You might also like to try \l{Qt Assistant}:
|
|---|
| 100 | this tool is supplied with Qt and provides access to the entire
|
|---|
| 101 | Qt API, and it provides a full text search facility.
|
|---|
| 102 |
|
|---|
| 103 | There are also a growing number of books about Qt programming; see
|
|---|
| 104 | \l{Books about Qt Programming} for a complete list of Qt books,
|
|---|
| 105 | including translations to various languages.
|
|---|
| 106 |
|
|---|
| 107 | Another valuable source of example code and explanations of Qt
|
|---|
| 108 | features is the archive of articles from \l {http://doc.trolltech.com/qq}
|
|---|
| 109 | {Qt Quarterly}, a quarterly newsletter for users of Qt.
|
|---|
| 110 |
|
|---|
| 111 | For documentation on specific Qt modules and other guides, refer to
|
|---|
| 112 | \l{All Overviews and HOWTOs}.
|
|---|
| 113 |
|
|---|
| 114 | Good luck, and have fun!
|
|---|
| 115 | */
|
|---|