link error when i use Qt Static Lib which i built by myself
link error when i use Qt Static Lib which i built by myself, when i build DEBUG:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::QString(chat const *) (_imp??0QString@@QEAA@PEBD@Z) referenced in function ......)
But, while i build RELEASE app, there is no error!
it's just a very simple basic app, and i'm sure the QString is used.
Did you build Qt with configure option -debug-and-release ? Maybe you just built the release one so in debug it can't find the needed libs?