how do I specify in qmake 4.5's .pro file that i want to ignore a library in msvc8 (2005)

社会主义新天地 提交于 2019-12-23 12:28:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!