各位大侠好:
在编绎QT的时候,出现如下问题:
error LNK2001: unresolved external symbol "public: virtual __thiscall QApplication::~QApplication(void)" (??1QApplication@@UAE@XZ)
00.obj : error LNK2001: unresolved external symbol "public: int __thiscall QApplication::exec(void)" (?exec@QApplication@@QAEHXZ)
00.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QApplication::setMainWidget(class QWidget *)" (?setMainWidget@QApplication@@UAEXPAVQWidget@@@Z)
00.obj : error LNK2001: unresolved external symbol "public: __thiscall QLabel::QLabel(class QString const &,class QWidget *,char const *,unsigned int)" (??0QLabel@@QAE@ABVQString@@PAVQWidget@@PBDI@Z)
00.obj : error LNK2001: unresolved external symbol "public: __thiscall QString::QString(char const *)" (??0QString@@QAE@PBD@Z)
00.obj : error LNK2001: unresolved external symbol "public: __thiscall QApplication::QApplication(int &,char * *)" (??0QApplication@@QAE@AAHPAPAD@Z)
00.obj : error LNK2001: unresolved external symbol "public: void __thiscall QStringData::deleteSelf(void)" (?deleteSelf@QStringData@@QAEXXZ)
00.obj : error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A)
Debug/00.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.00.exe - 9 error(s), 0 warning(s)
请问如何解决?
十分感谢!!
一经解决,马上给分!!
在编绎QT的时候,出现如下问题:
error LNK2001: unresolved external symbol "public: virtual __thiscall QApplication::~QApplication(void)" (??1QApplication@@UAE@XZ)
00.obj : error LNK2001: unresolved external symbol "public: int __thiscall QApplication::exec(void)" (?exec@QApplication@@QAEHXZ)
00.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QApplication::setMainWidget(class QWidget *)" (?setMainWidget@QApplication@@UAEXPAVQWidget@@@Z)
00.obj : error LNK2001: unresolved external symbol "public: __thiscall QLabel::QLabel(class QString const &,class QWidget *,char const *,unsigned int)" (??0QLabel@@QAE@ABVQString@@PAVQWidget@@PBDI@Z)
00.obj : error LNK2001: unresolved external symbol "public: __thiscall QString::QString(char const *)" (??0QString@@QAE@PBD@Z)
00.obj : error LNK2001: unresolved external symbol "public: __thiscall QApplication::QApplication(int &,char * *)" (??0QApplication@@QAE@AAHPAPAD@Z)
00.obj : error LNK2001: unresolved external symbol "public: void __thiscall QStringData::deleteSelf(void)" (?deleteSelf@QStringData@@QAEXXZ)
00.obj : error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A)
Debug/00.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.00.exe - 9 error(s), 0 warning(s)
请问如何解决?
十分感谢!!
一经解决,马上给分!!
解决方案 »
- 问大家一个小问题,问题如下
- 如何枚举出一个DLL里的函数名字及其入口地址,包括非输出函数?
- 有关多文档和文档视图结构问题
- 有关绘图程序的结构
- MFC中背景音乐问题
- ★★专家请留步!★★ 我正在等! 1190分!!!数学问题,信息化!编程需要,怎样编写开X的N次方的程序,具体算法请描述,我给分!!!!!
- speech release模式异常
- 请大家一起来讨论: directx与MFC的视图的关系.
- Win9x 下怎樣得枚舉到的HWND對應的語文件名?(UP=2分)
- DESS加密在VC++中的实现,为啥这个代码运行之后加密的结果是乱码
- ADO中什么情况下可以使用GetChunk()?
- mfc 正规动态链接库在pb里为什么不能用?
最好去Linux/Unix社区问一下。
是在那个 lib 库中。