Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
53 additions
and 127 deletions.
- +21 −111 ms-windows/mxe/README
- +16 −8 ms-windows/mxe/build-mxe.sh
- +8 −0 src/gui/qgsgui.cpp
- +8 −8 src/native/CMakeLists.txt
@@ -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. |