QT static compilation (link) and dynamic compilation differences
qt static compiler translation (in fact should be called link, not compile), the modules compiled into a static library, so that when compiling their own QT program, the Static library will compile (link) to your EXE file.
QT Dynamic compilation, the modules compiled into a dynamic library (Windows is a DLL), so that when compiling their own QT program, the dynamic library will be linked to your EXE file, the implementation of the QT module needs a dynamic library.
In the case of a static compilation, the above dynamic library is not required after compiling in the header file such as "Qwidget" instead of <QWidget>.
If it is dynamically compiled, the resulting EXE must depend on QtGUI.dll, Qtcore.dll,qtnetwork.dll, and so on.
Reference: http://www.pfeng.org/archives/635
--------------------------------------------------------------------------------
QT Static Compilation