问题
I have a linking problem. It can be solved by specify in msvc8 project properties -> Linker -> Input -> Ignore Specific Library: msvcrtd.lib. That library conflicts with libcpmtd.lib. But can't find how to do the same thing in qmake's .pro file that is used to generate the .vcproj file. Grateful for any hint /LG
回答1:
Write QMAKE_LFLAGS_DEBUG += /NODEFAULTLIB:libcpmtd
in you .pro file.
来源:https://stackoverflow.com/questions/2682164/how-do-i-specify-in-qmake-4-5s-pro-file-that-i-want-to-ignore-a-library-in-msv