To comply with Qt's LGPL license, an application using the Qt library must either make the source code available or link dynamically against Qt (if I got that correctly in this few words).
So I'd like to create a closed source application doing exactly that. Additionally, I'd like to develop on Linux (currently Xubuntu 12.04) using g++/MinGW with C++11 support to create windows binaries. I followed this helpful guide to accomplish the latter. But as the guide also states, statically linked executables are created.
Since I used MXE to automatically download and build the Qt library (version 5.0), I didn't have much of a chance to influence the process. So my question is, how do I create dynamically linked versions of the Qt library and respective applications?
You need to build QT for dynamic linking. If you have QT built for static linking (usually .a files in linux) your binary will be static. If you build against shared object files (.so) in linux, your binary will be dynamically linked. You will also need to include the relevant .dll's with your application so when someone else runs the executable it has access to those libraries.
The QT SDK from qt-project.org includes the dynamically linked files.