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 ?
Some one with your very issue posted something on the Qt forums a while back.
Which sounds like passing in one of the additional options should help.
So in your .pro file:
// This
QMAKE_CXXFLAGS += /MD
// Or that
QMAKE_CXXFLAGS += /MT
And don't forget to run qmake to make sure the makefile arguments absorb the changes made to the .pro file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With