QT给出了错误
LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Run Code Online (Sandbox Code Playgroud)
我在哪里放/ NODEFAULTLIB:库?
据我所知,这是一个未记录的功能,但这是您将其放入 QT Creator 2.6.2 w/ QT 4.8.4 中的位置(在 .pro 文件中)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../LIBRARYNAME/Lib/ -lLIBRARY /NODEFAULTLIB:library
Run Code Online (Sandbox Code Playgroud)