Prerequisites:
* Working C++ compiler
* Qt 4.4.0 or later development environment

On (K)ubuntu Edgy it is sufficient to install the qt4-dev package
to satisfy these requirements.

Instructions

1. Change directory to the one in which you unpacked Merkaartor

For example
$ cd /home/me/src/Merkaartor-0.xx

2. Run qmake

$ qmake

Note that you need the Qt4 version of qmake - running the Qt3 version
will generate incorrect makefiles.  If both are installed, take care
to run the correct version.  For example, on Fedora run

$ qmake-qt4

and on (K)ubuntu run

$ /usr/share/qt4/bin/qmake

2.1 Other qmake parameters for Merkaartor.pro

PREFIX=<path>			- base prefix for installation (unix only)
TRANSDIR_MERKAARTOR=<path>	- where will the Merkaartor translations be installed
TRANSDIR_SYSTEM=<path>		- where your global Qt translation directory is
NODEBUG=1			- release target
NOUSEWEBKIT                 	- disable use of WebKit (Yahoo adapter)

see http://wiki.openstreetmap.org/wiki/Merkaartor/Compiling for the complete list

3. Run your build tool, make for posix like systems, nmake for
Windows C++ Build system

$ make
or
$ nmake

4. If you are lucky, you'll find an executable in the
binaries subdirectory. Otherwise mail a complete error log to
bvh-osm@irule.be

Bart Vanhauwaert

