Alessandro Pasotti 189dfc702b Fix MXE build
2018-10-12 15:05:10 +02:00
..
2018-10-12 15:05:10 +02:00
2018-10-12 15:05:10 +02:00

Scripts to cross build a windows QGIS binary from Linux using MXE:
(M cross environment) http://mxe.cc/

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.

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


When done, you can edit the build-mxe.sh script and set the MXE path to your
mxe installation directory.