[Qt-interest] Building Qt 4.4.3: linker errors LNK2019 w/ MSVC2003 on Windows

Robert Hairgrove evorgriahr at hispeed.ch
Thu Dec 11 20:59:47 CET 2008


Robert Hairgrove wrote:
> Oops ... forgot to include the /MD switch. When I did, my toy 
> application also couldn't find the symbols!
> 
> Looks like it ignores MSVCPRT.LIB when /MD is specified...

Well, this is strange ... in the vcvars32.bat file which sets up the 
environment variables PATH, INCLUDE and LIB, I had put the Platform SDK 
paths BEFORE the MSVC Toolkit compiler paths, according to the 
instructions which come with the PSDK.

Putting the MSVC compiler paths first let my little test app compile and 
link without a hitch using the /MD switch (hooray!!). So now I am 
watching the Qt build progress and have high hopes that it will build 
correctly now.



More information about the Qt-interest-old mailing list