@@ -30,7 +30,7 @@ download and install of mingw) from here:
30
30
31
31
http://www.trolltech.com/developer/downloads/qt/windows
32
32
33
- Edit C:\Qt\4.2.0 \bin\qtvars.bat and add the following line (the second is only
33
+ Edit C:\Qt\4.2.2 \bin\qtvars.bat and add the following line (the second is only
34
34
needed if you like vim in your shell):
35
35
36
36
set PATH=%PATH%;C:\msys\local\bin;c:\msys\local\lib
@@ -47,96 +47,8 @@ Check out to c:\dev\cpp\qgis:
47
47
cd c:\dev\cpp
48
48
svn co https://svn.qgis.org/repos/qgis/trunk/qgis
49
49
50
- Currently you need to put it into that location in case you plan to create
51
- the NSIS installer because so far it contains hardcoded paths for this location.
52
50
53
51
54
- *******************************************************
55
- * TO USE CMAKE GO DIRECTLY TO 'USING CMAKE' BELOW !!! *
56
- *******************************************************
57
-
58
-
59
- Source changes:
60
- ---------------
61
-
62
- Next you need to shift some files around. For convenience we've made an archive
63
- that handles all the changes for you. Download it and unpack to qgis source directory:
64
-
65
- http://qgis.org/uploadfiles/msys/qgis-qmake-files.zip
66
-
67
- List of what has been changed / added by this archive to enable compilation:
68
-
69
- - moved qgscsexception.h, qgsspatialrefsys* and qgscoordinatetransform* into core dir from gui
70
- - moved qgspluginregistry.* from core to gui
71
- - qgsspatialrefsys.cpp - commented out SRS validation using projection selector
72
- - qgsspatialrefsys.cpp - commented out lines using qgsproject as it depends on gui stuff
73
- - qgsdistancearea.cpp - commented out lines using qgsproject as it depends on
74
- gui stuff and moved to core
75
- - lexer and parser generated by genlexyacc.bat
76
- - added custom qgsconfig.h and qgssvnversion.h
77
-
78
-
79
- Building:
80
- ---------
81
-
82
- Now open the qt command shell (or start "cmd" and run c:\Qt\4.2.0\bin\qtvars.bat)
83
-
84
- cd c:\dev\cpp\qgis
85
- qmake
86
- make
87
-
88
- This will compile both debug and release version. To make just a one of them
89
- use "make debug" or "make release" respectively.
90
-
91
- Note: debug version uses debug version of Qt library thus if linking fails
92
- on not founding library QtSvgd4 (or similar), you need to compile them
93
- as described in section for Qt.
94
-
95
- Running: (optional)
96
- --------
97
-
98
- After successfull make you can run QGIS directly from the directory
99
- where it has been built: qgis-debug and/or qgis-release in qgis root dir.
100
- You only need to add data files - we have provided an archive for convenience
101
- which you can just unpack there and run QGIS:
102
-
103
- http://qgis.org/uploadfiles/msys/qgis_data.zip
104
-
105
- Then just run qgis.exe
106
-
107
- GDB: (optional)
108
- ----
109
-
110
- If you plan to do some debugging, download and install gdb-6.3.2.exe from
111
-
112
- http://prdownloads.sourceforge.net/mingw/gdb-6.3-2.exe?download
113
-
114
- and install to c:\msys\mingw
115
-
116
-
117
- Create the installation package: (optional)
118
- --------------------------------
119
-
120
- Downlad and install NSIS from (http://nsis.sourceforge.net/Main_Page)
121
-
122
- Download both the QGIS debug and release installer packages from
123
-
124
- http://qgis.org/uploadfiles/testbuilds/
125
-
126
- and install them. Now copy the installation dirs from C:\Program Files\QGIS* into
127
- c:\dev\cpp\qgis\qgis-debug and c:\dev\cpp\qgis\qgis-release respectively. After
128
- making these copies uninstall the release and debug versions of QGIS from
129
- your c:\Program Files directories using the provided uninstaller. Double check
130
- that both dirs are complete gone under program files afterwards.
131
-
132
- Now using windows explorer, enter the c:\dev\cpp\qgis\win_build directory and right
133
- click on qgis.nsi and choose the option 'Compile NSIS Script'. Do the same
134
- for qgis-debug.nsi. Congratulations you should have two installable qgis
135
- setup files in the win_build directory now..
136
-
137
-
138
- *********************************
139
-
140
52
USING CMAKE FOR 0.8
141
53
-------------------
142
54
@@ -186,3 +98,8 @@ As a background read http://wiki.qgis.org/qgiswiki/Building_with_CMake
186
98
187
99
*) (Make sure to copy all .dll:s needed to the same directory as the
188
100
qgis.exe binary is installed to, if not already done so.
101
+
102
+
103
+ Create the installation package: (optional)
104
+ --------------------------------
105
+ See readme in win_build dir
0 commit comments