[Qt-interest] Link Qt with Visual Studio Multi-threaded Debug Runtime Library
Pedro Silva Vicente
psilvavicente at gmail.com
Sun Oct 18 19:03:53 CEST 2009
Hello all
This is my first post.
I compiled Qt to use with Visual Studio 2008 using
configure -static -platform win32-msvc2008
and used the Qt Visual Studio Add-In to generate a new Qt application project.
All is fine, but the generated project uses the Multi-threaded Debug DLL (/MDd) Runtime Library.
Now I want to use the Multi-threaded Debug (/MTd) Runtime Library instead, but changing Visual Studio to use this library, gives errors like
MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _strchr already defined in LIBCMTD.lib(strchr.obj)
So, I am guessing the Qt libraries were linked against MSVCRTD.lib (Multi-threaded Debug DLL).
Is there a way to compile Qt against LIBCMTD.lib (Multi-threaded Debug)?
I want also to build release versions of my application.
Thanks
----------------------
Pedro Silva Vicente
psilvavicente at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091018/f37820cd/attachment.html
More information about the Qt-interest-old
mailing list