Mercurial > trustbridge
comparison INSTALL @ 949:0abacb0fd564
Document and use minimized qt and document curl build for windows
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 27 Aug 2014 10:40:41 +0200 |
parents | 3baee3445502 |
children | f2066a24047d |
comparison
equal
deleted
inserted
replaced
948:3baee3445502 | 949:0abacb0fd564 |
---|---|
189 pkg-config scons sed unzip wget xz-utils autopoint \ | 189 pkg-config scons sed unzip wget xz-utils autopoint \ |
190 gperf | 190 gperf |
191 | 191 |
192 Build the windows binaries: | 192 Build the windows binaries: |
193 MXEPATH=$YOURPREFIX/win | 193 MXEPATH=$YOURPREFIX/win |
194 git clone https://github.com/mxe/mxe.git $MXEPATH | 194 git clone https://github.com/Intevation/mxe.git $MXEPATH |
195 cd $MXEPATH | 195 cd $MXEPATH |
196 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk | 196 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk |
197 make polarssl | 197 make polarssl |
198 make qtbase | 198 make qtbase |
199 (optional) make curl | |
199 | 200 |
200 Workaround Qt CMake Bugs: | 201 Workaround Qt CMake Bugs: |
201 find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \ | 202 find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \ |
202 xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g' | 203 xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g' |
203 sed -i 's/^_qt5gui_find_extra_libs.*//' \ | 204 sed -i 's/^_qt5gui_find_extra_libs.*//' \ |
204 $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake | 205 $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake |
205 | |
206 Make an NSS build available in the MXE prefix: | |
207 # TODO -> Document how to build NSS,.. | |
208 cp -r <magic nss folder> $MXEPATH/usr/i686-w64-mingw32.static/ | |
209 | 206 |
210 Compile the software: | 207 Compile the software: |
211 cd trustbridge | 208 cd trustbridge |
212 mkdir build-windows | 209 mkdir build-windows |
213 cd build-windows | 210 cd build-windows |