[Development] Crosscompile on Debian stable targeting MS Windows

Loaden loaden at gmail.com
Mon May 14 12:29:38 CEST 2012


I just sent a code review to:
https://codereview.qt-project.org/#change,26120
Please have a look.

Here is the build script for Ubuntu-mingw-w64:

> #!/bin/sh
>
> rm -rf bin
> mkdir bin
> ln -s /usr/bin/i686-w64-mingw32-gcc ./bin/i686-pc-mingw32-gcc
> ln -s /usr/bin/i686-w64-mingw32-g++ ./bin/i686-pc-mingw32-g++
> ln -s /usr/bin/i686-w64-mingw32-ar ./bin/i686-pc-mingw32-ar
> ln -s /usr/bin/i686-w64-mingw32-strip ./bin/i686-pc-mingw32-strip
> ln -s /usr/bin/i686-w64-mingw32-windres ./bin/i686-pc-mingw32-windres
>
> export LANG=C
> unset QTDIR
> export PATH="$PWD/../Qt5/qtbase/bin:$PWD/bin:$PATH"
>
> ../Qt5/configure -prefix $PWD/qtbase -xplatform
> unsupported/win32-g++-cross -opensource -confirm-license -release -fast
> -nomake examples >>config.log 2>&1
> make module-qt3d -j 2 >>build.log 2>&1
>
> read -p "Press any key to continue..." nothing
>

Any comments or tips are welcome!

2012/5/14 Loaden <loaden at gmail.com>

> Are you sure you can build all module use '-xplatform
> unsupported/win32-g++-corss'?
> In Ubuntu 12.04, It's only build qtbase module if use 'make -j 2'.
>



-- 
Please don't ask where I come from, It's a shame!
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120514/3c5135a0/attachment.html>


More information about the Development mailing list