I've used this SO answer as a recipie to build Qt GUI applications for Windows on Linux. It works perfectly. But my resulting "Hello World" binary is 12MB big - only for a button in a window - and this is too much.
So I thought I could modify the src/qt.mk
file and adjust the configure options to remove as many unneeded options as possible.
But now I need to recompile Qt inside MXE and I don't know how. When I run make
in the base directory it begins to download all source packages. But I've already downloaded this stuff.
So how to only recompile the qt part so that my changes will take effect?