1 // Boost.Geometry (aka GGL, Generic Geometry Library)
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)
8 Qt World Mapper example
10 It will show a basic Qt Widget, displaying world countries
12 To compile this program:
14 Install Qt (if not done before)
15 Install Boost (if not done before)
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
25 - install Qt with sudo apt-get install libqt4-dev
27 - edit the generated file "with_external_libs.pro" and delete all lines but the x06_qt_world_mapper.cpp
29 - edit the generated Makefile, if necessary, and add -I../../../.. to include Boost and Boost.Geometry