[Qt-interest] Using Windows static runtime library

Malyushytsky, Alex alex at wai.com
Thu Jan 28 10:35:25 CET 2010


Be aware that last time I tried to build Qt4 fully statically (using static C run-time libraries) with MSVC,
it had memory issues when some functions were invoked. At that time we had commercial support which and I made sure I implemented all suggestions they made. Finally I had drop that idea, even though major of functionality was accessible.
I would highly recommend to stay away from using static CRTs unless you have time and desire to debug and fix Qt internals.

Regards,
   Alex

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Gino VH
Sent: Wednesday, January 27, 2010 10:33 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Using Windows static runtime library

Hello,

have a look here :
http://qt.nokia.com/developer/faqs/why-does-a-statically-built-qt-use-the-dynamic-visual-studio-runtime-libraries-do-i-need-to-deploy-those-with-my-application?hotspoturl=http%3A//www.qtsoftware.com/developer/faqs/qt

Basically in mkspecs\win32-msvc200x\qmake.conf you have to change -MD to -MT ( to link with static C runtime library) and rebuild Qt again with these settings.

best regards,

Gino



_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."




More information about the Qt-interest-old mailing list