forked from leplatrem/merkopolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
76 lines (50 loc) · 1.48 KB
/
README
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#########
Merkopolo
#########
A very simple project demonstrating the usage of Merkaartor components
to build a GIS application.
====================
Install Dependencies
====================
Linux Setup
===========
Just install those packages (e.g. via ``apt-get``) :
* git-core
* libgdal-dev
* qtcreator
* libqt4-dev
You're done ! Jump to the `Build the source code` section !
Windows Setup
=============
* msysgit
* QtCreator
Qt SDK
------
Download and install the latest version of Qt SDK from http://qt.nokia.com :
* Install it to ``C:\Qt\4.7.4``
* Choose *Custom*
* Check *Miscellaneous* > *MinGW* to install ``mingw``
* Check *Qt Source Code*
MinGW dependencies
------------------
Download Merkaartor dependencies built for Windows ::
git clone git://gitorious.org/merkaartor/mingw-binaries.git
Go into *mingw-binaries* and :
* Copy (merge) all folders (``bin``, ``lib``, etc.) with those in ``C:\Qt\4.7.4\Desktop\Qt\4.7.4\mingw\``
You're done ! Build the source code !
=================
Build Source Code
=================
Fetch source code of Merkopolo and Merkaartor in one go:
git clone --recursive [email protected]:leplatrem/merkopolo.git
You should have the following folder tree ::
README
merkopolo/
\_ merkopolo.pro
\_ ...
merkaartor/
\_ src/
\_ ...
Open `merkopolo.pro` in QtCreator.
Open "Project" tab (in left bar), check *Shadow Build* and verify that your *Build Folder* exists.
Build ! (can take time, like 5-10 minutes)