[Qt-interest] Link Qt with Visual Studio Multi-threaded Debug Runtime Library
Pedro Silva Vicente
psilvavicente at gmail.com
Mon Oct 19 17:30:22 CEST 2009
My apologies if this post was already submitted. I sent it, but I did not
receive it on the mailing list.
Could someone on the list please acknowledge that this post was received, by
replying to me directly? Thanks
Original post follows:
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
More information about the Qt-interest-old
mailing list