Added some windows cross compiling of the Qt flavor.

This commit is contained in:
xawotihs
2013-12-12 17:54:43 -05:00
parent fd3cf574cf
commit 89dcd6c71d
2 changed files with 11 additions and 1 deletions

View File

@@ -42,6 +42,15 @@ cd ..
qmake projects/mtg/wagic-qt.pro CONFIG+=console CONFIG+=debug DEFINES+=CAPTURE_STDERR
make -j 8
# we're cross-compiling a Qt Windows version here,
# PATH is only set here to prevent colision
export PATH="$PATH:/opt/mingw32/bin"
mkdir qt-win-cross
cd qt-win-cross
/opt/mingw32/bin/qmake ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
make -j 8
cd ..
# we create resource package
cd projects/mtg/bin/Res
python createResourceZip.py