I added a script for cross-compiling for Windows. development/cmake/scripts/xmingw
'xmingw' Must be called from a build directory with the path to the LyX code. Mingw needs to be installed. On Ubuntu I assume the package gcc-mingw-w64-i686 is enough. The script download a pre-compiled Qt 5.5.1 version, and starts compiling. Peter