PDA

View Full Version : Is it recommended to statically built Qt?



RThaden
21st July 2008, 15:05
Hi all,

on
http://trolltech.com/developer/knowledgebase/faq.2007-03-15.4154694947/
they say


"Qt is built using the -MD(d) switch, which links against the dynamic C/C++ runtime libraries. This is necessary as we have experienced memory problems when using anything but the -MD(d) flag, and in general, it is recommended to use."

Has anyone experienced problems with that? I just switched everything to static linking so I only have to deploy one .exe.

Regards,

Rainer

pherthyl
21st July 2008, 20:23
Microsoft recommends not to statically link against their runtime libs. However I use a static Qt with mingw and it builds into one exe with no problems.