[Development] Linker Error While linking application(form of DLL) with Qt libs
Amogh Kudari
amogh.kudari5 at gmail.com
Thu Mar 14 10:49:37 CET 2013
Hi All,
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.
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.
I am currently using Qt 4.8.4 on Windows using Visual Studio command prompt.
The linker command on make is as follows.
*COMMAND:*
*
*
*" link c:/my_sw_component/my_sw_components.obj
c:/my_sw_component/my_sw_component.lib **e:/platform/platform.lib
c:/my_sw_component/platform.res *
*e:/workspace/qtwebkit/qt-4.8.4/lib/QtCored4.lib *
*e:/workspace/qtwebkit/qt-4.8.4/lib/QtGuid4.lib*
*e:/workspace/qtwebkit/qt-4.8.4/lib/QtNetworkd4.lib *
*e:/workspace/qtwebkit/qt-4.8.4/lib/QtWebkitd4.lib *
*kernel32.lib gdi32.lib user32.lib WinInet.lib*
* /nologo /DLL /subsystem:windows*
* /libpath:e:/workspace/lib/*
* /libpath:"C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib"*
* /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"*
*
*
*LINKER ERRORS:*
*
*
Creating library c:/my_sw_component/my_sw_component.lib and object
c:/my_sw_component/my_sw_component.exp
webkitbrowser.lib(qndsresourcemanager.obj) : *error LNK2001: unresolved
external symbol "private: static struct QByteArray::Data
QByteArray::shared_null" (?shared_null at QByteArray@@0UData at 1@A)*
webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001: unresolved
external symbol "private: static struct QByteArray::Data
QByteArray::shared_null" (?shared_null at QByteArray@@0UData at 1@A)
webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved
external symbol "private: static struct QByteArray::Data
QByteArray::shared_null" (?shared_null at QByteArray@@0UData at 1@A)
webkitbrowser.lib(keyboard.obj) : error LNK2001: unresolved external symbol
"private: static struct QByteArray::Data QByteArray::shared_null"
(?shared_null at QByteArray@@0UData at 1@A)
webkitbrowser.lib(webpage.obj) : error LNK2001: unresolved external symbol
"private: static struct QByteArray::Data QByteArray::shared_null"
(?shared_null at QByteArray@@0UData at 1@A)
webkitbrowser.lib(pushbutton.obj) : error LNK2001: unresolved external
symbol "private: static struct QByteArray::Data QByteArray::shared_null"
(?shared_null at QByteArray@@0UData at 1@A)
webkitbrowser.lib(qndsresourcemanager.obj) :* error LNK2001: unresolved
external symbol "private: static struct QString::Data QString::shared_null"
(?shared_null at QString@@0UData at 1@A)*
webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001: unresolved
external symbol "private: static struct QString::Data QString::shared_null"
(?shared_null at QString@@0UData at 1@A)
webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved
external symbol "private: static struct QString::Data QString::shared_null"
(?shared_null at QString@@0UData at 1@A)
?shared_null at QString@@0UData at 1@A)
webkitbrowser.lib(qndsresourcemanager.obj) *: error LNK2001: unresolved
external symbol "public: char __thiscall QChar::toAscii(void)const "
(?toAscii at QChar@@QBEDXZ)*
webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001: unresolved
external symbol "public: char __thiscall QChar::toAscii(void)const "
(?toAscii at QChar@@QBEDXZ)
webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved
external symbol "public: char __thiscall QChar::toAscii(void)const "
(?toAscii at QChar@@QBEDXZ)
webkitbrowser.lib(keyboard.obj) : error LNK2001: unresolved external symbol
"public: char __thiscall QChar::toAscii(void)const " (?toAscii at QChar
@@QBEDXZ)
webkitbrowser.lib(webpage.obj) : error LNK2001: unresolved external symbol
"public: char __thiscall QChar::toAscii(void)const " (?toAscii at QChar
@@QBEDXZ)
I did not find any suitable answer in net.
Please provide me any inputs on how to resolve this error.
Thanks in advance for help.
Regards,
Amogh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130314/65c13930/attachment.html>
More information about the Development
mailing list