8c67025e2559f48a4b324dfcfdcfe80a9565e9b1
[platform/upstream/boost.git] / libs / geometry / example / with_external_libs / x06_qt_world_mapper_readme.txt
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2 //
3 // Copyright Barend Gehrels 2011, Geodan, Amsterdam, the Netherlands
4 // Use, modification and distribution is subject to the Boost Software License,
5 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7
8 Qt World Mapper example
9
10 It will show a basic Qt Widget, displaying world countries
11
12 To compile this program:
13
14 Install Qt (if not done before)
15 Install Boost (if not done before)
16
17 Using MSVC: 
18    - edit the file qt.vsprops 
19    - set the UserMacro QT to point to your Qt distribution
20    - edit the file boost.vsprops
21    - set the UserMacro BOOST_ROOT to point to your Boost distribution
22    - alternatively you can include Boost and/or Qt in your standard include path
23    
24 Using Linux/gcc
25    - install Qt with sudo apt-get install libqt4-dev
26    - run qmake -project
27    - edit the generated file "with_external_libs.pro"  and delete all lines but the x06_qt_world_mapper.cpp
28    - run qmake
29    - edit the generated Makefile, if necessary, and add -I../../../.. to include Boost and Boost.Geometry
30    - run make
31