qt5base-lts/examples/tutorials/addressbook
Mitch Curtis 7fc34bff78 Call clear() instead of empty() in addressbook/part6 tutorial.
empty() doesn't remove elements, it just returns whether it is empty.

Task-number: QTBUG-8849
Change-Id: I9bb8e855d96cecd2a0df336cb46e308ddedf0d07
Reviewed-by: Michalina Ziemba <michalina.ziemba@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-08-09 03:26:19 +02:00
..
part1 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
part2 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
part3 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
part4 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
part5 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
part6 Call clear() instead of empty() in addressbook/part6 tutorial. 2012-08-09 03:26:19 +02:00
part7 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
addressbook.pro QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
README Update obsolete contact address. 2012-01-23 04:04:33 +01:00

The Address Book Tutorial shows how to put together a simple yet
fully-functioning GUI application. The tutorial chapters can be found in the
Qt documentation, which can be viewed using Qt Assistant or a Web browser.

The tutorial is also available online at

http://qt.nokia.com/doc/tutorial.html

All programs corresponding to the chapters in the tutorial should
automatically be built when Qt is compiled, or will be provided as
pre-built executables if you have obtained a binary package of Qt.

If you have only compiled the Qt libraries, use the following instructions
to build the tutorial.

On Linux/Unix:

Typing 'make' in this directory builds all the programs (part1/part1,
part2/part2, part3/part3 and so on). Typing 'make' in each subdirectory
builds just that tutorial program.

On Windows:

Create a single Visual Studio project for the tutorial directory in
the usual way. You can do this by typing the following at the command
line:

qmake -tp vc

You should now be able to open the project file in Visual Studio and
build all of the tutorial programs at the same time.

On Mac OS X:

Create an Xcode project with the .pro file in the tutorial directory.
You can do this by typing the following at the command line:

qmake -spec macx-xcode

Then open the generated Xcode project in Xcode and build it.