Hi All,<div><br></div><div>            I am currently trying to link my software component libs(propreitary) with Qt Libs to form a DLL which will further be used by my application.</div><div>In doing so I am facing linker issues. I did check if the symbols are present in the libs and Yes they are present in Libs, but still its unable to link.</div>
<div>I am currently using Qt 4.8.4 on Windows using Visual Studio command prompt.</div><div>The linker command on make is as follows.</div><div><br></div><div><b>COMMAND:</b></div><div><b><br></b></div><div><div><b>" link c:/my_sw_component/my_sw_components.obj c:/my_sw_component/my_sw_component.lib </b><b>e:/platform/platform.lib c:/my_sw_component/platform.res </b></div>
<div><b>e:/workspace/qtwebkit/qt-4.8.4/lib/QtCored4.lib </b></div><div><b>e:/workspace/qtwebkit/qt-4.8.4/lib/QtGuid4.lib</b></div><div><b>e:/workspace/qtwebkit/qt-4.8.4/lib/QtNetworkd4.lib </b></div><div><b>e:/workspace/qtwebkit/qt-4.8.4/lib/QtWebkitd4.lib </b></div>
<div><b>kernel32.lib gdi32.lib user32.lib WinInet.lib</b></div><div><b> /nologo /DLL /subsystem:windows</b></div><div><b> /libpath:e:/workspace/lib/</b></div><div><b> /libpath:"C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib"</b></div>
<div><b> /fixed:no /incremental:no /PDB:NONE /SAFESEH:NO /nodefaultlib /debug /map:c:/my_sw_component/my_sw_component.map /out:c:/my_sw_component/my_sw_component.dll"</b></div><div><br></div><div><b><br></b></div><div>
<b>LINKER ERRORS:</b></div><div><b><br></b></div><div>   Creating library c:/my_sw_component/my_sw_component.lib and object c:/my_sw_component/my_sw_component.exp</div><div>webkitbrowser.lib(qndsresourcemanager.obj) : <b>error LNK2001: unresolved external symbol "private: static struct QByteArray::Data QByteArray::shared_null" (?shared_null@QByteArray@@0UData@1@A)</b></div>
<div>webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001: unresolved external symbol "private: static struct QByteArray::Data QByteArray::shared_null" (?shared_null@QByteArray@@0UData@1@A)</div><div>
webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved external symbol "private: static struct QByteArray::Data QByteArray::shared_null" (?shared_null@QByteArray@@0UData@1@A)</div><div>webkitbrowser.lib(keyboard.obj) : error LNK2001: unresolved external symbol "private: static struct QByteArray::Data QByteArray::shared_null" (?shared_null@QByteArray@@0UData@1@A)</div>
<div>webkitbrowser.lib(webpage.obj) : error LNK2001: unresolved external symbol "private: static struct QByteArray::Data QByteArray::shared_null" (?shared_null@QByteArray@@0UData@1@A)</div><div>webkitbrowser.lib(pushbutton.obj) : error LNK2001: unresolved external symbol "private: static struct QByteArray::Data QByteArray::shared_null" (?shared_null@QByteArray@@0UData@1@A)</div>
<div>webkitbrowser.lib(qndsresourcemanager.obj) :<b> error LNK2001: unresolved external symbol "private: static struct QString::Data QString::shared_null" (?shared_null@QString@@0UData@1@A)</b></div><div>webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001: unresolved external symbol "private: static struct QString::Data QString::shared_null" (?shared_null@QString@@0UData@1@A)</div>
<div>webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved external symbol "private: static struct QString::Data QString::shared_null" (?shared_null@QString@@0UData@1@A)</div><div>?shared_null@QString@@0UData@1@A)</div>
<div>webkitbrowser.lib(qndsresourcemanager.obj) <b>: error LNK2001: unresolved external symbol "public: char __thiscall QChar::toAscii(void)const " (?toAscii@QChar@@QBEDXZ)</b></div><div>webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001: unresolved external symbol "public: char __thiscall QChar::toAscii(void)const " (?toAscii@QChar@@QBEDXZ)</div>
<div>webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved external symbol "public: char __thiscall QChar::toAscii(void)const " (?toAscii@QChar@@QBEDXZ)</div><div>webkitbrowser.lib(keyboard.obj) : error LNK2001: unresolved external symbol "public: char __thiscall QChar::toAscii(void)const " (?toAscii@QChar@@QBEDXZ)</div>
<div>webkitbrowser.lib(webpage.obj) : error LNK2001: unresolved external symbol "public: char __thiscall QChar::toAscii(void)const " (?toAscii@QChar@@QBEDXZ)</div><div><br></div><div><br></div><div><div>I did not find any suitable answer in net.</div>
</div><div><br></div><div>Please provide me any inputs on how to resolve this error.</div><div><br></div><div>Thanks in advance for help.</div></div><div><br></div><div><br></div><div>Regards,</div><div>Amogh.</div>