Changed win_gui cross compilation to use cleaner Qt setup
A separate cross compiler mkspecs file (win32-x-g++) is now used to configure all build options so the setup-mingw-cross-compiling hack is not needed anymore. Furthermore, the MinGW setup is now on path, so no need to specify extra PATH changes for it.master
parent
e6f9861ace
commit
2ae2d8aea4
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# qmake seems to be forcing include and lib paths from the original build
|
||||
# and I have no idea how to change these. For now, just override the
|
||||
# directories in the Makefile.Release file after qmake run.
|
||||
|
||||
qmake -spec /q/jm/qt4-win/4.3.3/mkspecs/win32-g++ wpa_gui.pro -o Makefile
|
||||
cat Makefile.Release |
|
||||
sed s%/usr/lib/qt4%/q/jm/qt4-win/4.3.3/lib%g |
|
||||
sed s%/usr/include/qt4%/q/jm/qt4-win/4.3.3/include%g > tmp.Makefile.Release &&
|
||||
mv -f tmp.Makefile.Release Makefile.Release
|
||||
|
||||
make -C icons
|
Loading…
Reference in New Issue