qt5base-lts/examples/widgets/tutorials/addressbook
Kevin Funk 99539a2894 Allow to build examples as standalone project
Create CMake config files which can be used from the very same CMake
project. These CMake config files simply do not create any targets,
controlled via the QT_NO_CREATE_TARGETS.

This patch also allows to build qtbase.git:examples as a standalone
project, against an already-built Qt.

Ran this:
  ag -s "QT " examples -l -0 | xargs -0 -n 1 .../util/cmake/pro2cmake.py --is-example

Task-number: QTBUG-74713
Change-Id: I44cce5a4048618b30f890c5b789592c227a8b47d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-06-05 12:53:28 +00:00
..
part1 Allow to build examples as standalone project 2019-06-05 12:53:28 +00:00
part2 Allow to build examples as standalone project 2019-06-05 12:53:28 +00:00
part3 Allow to build examples as standalone project 2019-06-05 12:53:28 +00:00
part4 Allow to build examples as standalone project 2019-06-05 12:53:28 +00:00
part5 Allow to build examples as standalone project 2019-06-05 12:53:28 +00:00
part6 Allow to build examples as standalone project 2019-06-05 12:53:28 +00:00
part7 Allow to build examples as standalone project 2019-06-05 12:53:28 +00:00
addressbook.pro remove QT+=widgets from SUBDIRS projects 2012-12-17 14:08:17 +01:00
CMakeLists.txt CMake: Add widgets examples 2019-03-26 15:25:39 +00:00
README Fix some more old references and links to Nokia 2013-01-28 14:27:57 +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-project.org/doc/qt-5.0/qtwidgets/tutorials-addressbook.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.