QT CREATOR - where do I put the /NODEFAULTLIB:library?
-
QT gives the errors:
@LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library@where do I put the /NODEFAULTLIB:library ?
I have also started the question on stackoverflow - "Stackoverflow Question":http://stackoverflow.com/questions/17371402/qt-creator-where-do-i-put-the-nodefaultliblibrary?noredirect=1#comment25214552_17371402
-
This has nothing to do with Qt Creator.
The options go into your PRO file QMAKE_CXXFLAGS as described in the answers to your cross-posted StackOverflow question. There are some useful links in the answers too.
Something you are linking your Qt code with was not built with the same /MD or /MT option. Since we have no knowledge of what your project includes we cannot be more specific.