forked from 4x4falcon/fosm-merkaartor
-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL
51 lines (33 loc) · 1.26 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
Bart Vanhauwaert