Building static Qt on Windows

Building a static version of Qt is not enough to produce a fully standalone executable. The following steps must be done in order to kill dependencies to any external DLLs.

 

http://www.qtcentre.org/wiki/index.php?title=Building_static_Qt_on_Windows#MinGW

 

为了使用内置的gif plugin支持,需要使用-qt-gif

configure -static -release -no-exceptions -qt-gif

你可能感兴趣的:(windows)