|
Last change
on this file was 561, checked in by Dmitry A. Kuminov, 16 years ago |
|
trunk: Merged in qt 4.6.1 sources.
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | The Address Book Tutorial shows how to put together a simple yet
|
|---|
| 2 | fully-functioning GUI application. The tutorial chapters can be found in the
|
|---|
| 3 | Qt documentation, which can be viewed using Qt Assistant or a Web browser.
|
|---|
| 4 |
|
|---|
| 5 | The tutorial is also available online at
|
|---|
| 6 |
|
|---|
| 7 | http://qt.nokia.com/doc/4.4/tutorial.html
|
|---|
| 8 |
|
|---|
| 9 | All programs corresponding to the chapters in the tutorial should
|
|---|
| 10 | automatically be built when Qt is compiled, or will be provided as
|
|---|
| 11 | pre-built executables if you have obtained a binary package of Qt.
|
|---|
| 12 |
|
|---|
| 13 | If you have only compiled the Qt libraries, use the following instructions
|
|---|
| 14 | to build the tutorial.
|
|---|
| 15 |
|
|---|
| 16 | On Linux/Unix:
|
|---|
| 17 |
|
|---|
| 18 | Typing 'make' in this directory builds all the programs (part1/part1,
|
|---|
| 19 | part2/part2, part3/part3 and so on). Typing 'make' in each subdirectory
|
|---|
| 20 | builds just that tutorial program.
|
|---|
| 21 |
|
|---|
| 22 | On Windows:
|
|---|
| 23 |
|
|---|
| 24 | Create a single Visual Studio project for the tutorial directory in
|
|---|
| 25 | the usual way. You can do this by typing the following at the command
|
|---|
| 26 | line:
|
|---|
| 27 |
|
|---|
| 28 | qmake -tp vc
|
|---|
| 29 |
|
|---|
| 30 | You should now be able to open the project file in Visual Studio and
|
|---|
| 31 | build all of the tutorial programs at the same time.
|
|---|
| 32 |
|
|---|
| 33 | On Mac OS X:
|
|---|
| 34 |
|
|---|
| 35 | Create an Xcode project with the .pro file in the tutorial directory.
|
|---|
| 36 | You can do this by typing the following at the command line:
|
|---|
| 37 |
|
|---|
| 38 | qmake -spec macx-xcode
|
|---|
| 39 |
|
|---|
| 40 | Then open the generated Xcode project in Xcode and build it.
|
|---|
| 41 |
|
|---|
| 42 | Feel free to send comments about the tutorial to qt-bugs@trolltech.com.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.