PDA

View Full Version : File not found msvcprtd.lib QT



davinciomare
28th September 2016, 16:40
Hi i am trying to compile my project but i get some errors like:

qtmaind.lib(qtmain_win.obj):-1: error: LNK2038: se detectaron diferencias para 'RuntimeLibrary': el valor 'MDd_DynamicDebug' no coincide con el valor 'MTd_StaticDebug' en main.obj
And the consequence is for this:

File not found msvcprtd.lib

d_stranz
28th September 2016, 22:34
You must set the "Runtime Library" property to "Multi-threaded Debug DLL (/MDd)" for all object files in your project, since Qt is compiled this way for MSVC.

davinciomare
29th September 2016, 00:22
I set the runtime property in my project and seems works fine thanks a lot.

davinciomare
29th September 2016, 13:52
Lol again i tried and show me the same error

davinciomare
30th September 2016, 01:04
solved i understand all