Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix MXE build
- Loading branch information
Showing
4 changed files
with
53 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,120 +1,30 @@ | ||
|
||
Scripts to cross build a windows QGIS binary from Linux using MXE: | ||
Scripts to cross build a windows QGIS binary from Linux using MXE: | ||
(M cross environment) http://mxe.cc/ | ||
|
||
For now, Python bindings cannot be built with mxe. | ||
Limitations: | ||
- No Python support | ||
- No OpenCL | ||
|
||
Follow the instructions on the website to prepare the mxe environment, you | ||
will need to build all required dependencies for QGIS. | ||
|
||
Note that some of the packages listed below are dependencies of other | ||
packages, you will probably not need to build them all explicitly. | ||
The following command will select the posix threads enabled target and install | ||
the dependencies required by QGIS: | ||
|
||
make MXE_TARGETS=i686-w64-mingw32.shared.posix -j 16 \ | ||
qca \ | ||
qtlocation \ | ||
qscintilla2 \ | ||
qwt \ | ||
gdal \ | ||
qtkeychain \ | ||
qtserialport \ | ||
qtwebkit \ | ||
qtwinextras \ | ||
libzip \ | ||
gsl \ | ||
libspatialindex | ||
|
||
armadillo | ||
bfd | ||
bzip2 | ||
cairo | ||
cmake | ||
curl | ||
dbus | ||
dlfcn-win32 | ||
expat | ||
fontconfig | ||
freetds | ||
freetype | ||
freexl | ||
gcc | ||
gdal | ||
gendef | ||
geos | ||
gettext | ||
giflib | ||
glib | ||
gmp | ||
gnutls | ||
gsl | ||
gta | ||
harfbuzz | ||
hdf4 | ||
hdf5 | ||
icu4c | ||
isl | ||
jasper | ||
jpeg | ||
json-c | ||
lcms | ||
libffi | ||
libgcrypt | ||
libgeotiff | ||
libgnurx | ||
libgpg_error | ||
libiconv | ||
libidn2 | ||
libmng | ||
libmysqlclient | ||
libpng | ||
libspatialindex | ||
libssh2 | ||
libunistring | ||
libwebp | ||
libxml2 | ||
libzip | ||
lzo | ||
mpc | ||
mpfr | ||
netcdf | ||
nettle | ||
openblas | ||
openjpeg | ||
openssl | ||
pcre | ||
pcre2 | ||
pixman | ||
pkgconf | ||
portablexdr | ||
postgresql | ||
proj | ||
qca | ||
qscintilla2 | ||
qt3d | ||
qtactiveqt | ||
qtbase | ||
qtcanvas3d | ||
qtcharts | ||
qtconnectivity | ||
qtdatavis3d | ||
qtdeclarative | ||
qtgamepad | ||
qtgraphicaleffects | ||
qtimageformats | ||
qtkeychain | ||
qtlocation | ||
qtmultimedia | ||
qtpurchasing | ||
qtquickcontrols | ||
qtquickcontrols2 | ||
qtscript | ||
qtscxml | ||
qtsensors | ||
qtserialbus | ||
qtserialport | ||
qtspeech | ||
qtsvg | ||
qttools | ||
qttranslations | ||
qtvirtualkeyboard | ||
qtwebchannel | ||
qtwebkit | ||
qtwebsockets | ||
qtwebview | ||
qtwinextras | ||
qtxmlpatterns | ||
qwt | ||
spatialite | ||
sqlite | ||
tiff | ||
xz | ||
zlib | ||
|
||
When done, you can edit the build-mxe.sh script to set the path to your mxe installation. | ||
When done, you can edit the build-mxe.sh script and set the MXE path to your | ||
mxe installation directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters