• 4880阅读
  • 3回复

我在windows下编译QtWebKitd4.dll库的时候链接报如下错误,是为什么呢? [复制链接]

上一主题 下一主题
离线q011
 
只看楼主 倒序阅读 楼主  发表于: 2009-09-22
— 本帖被 XChinux 从 General Qt Programming 移动到本区(2011-01-02) —
我在windows下编译QtWebKitd4.dll库的时候链接报如下错误:

Creating library file: c:\Qt\2009.03\qt\lib\libQtWebKitd4.a
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x14c): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x2a4): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x3e8): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x50c): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x630): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0xd8e): undefined reference to `vtable for WebCore::QNetworkReplyHandler'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x10a0): undefined reference to `vtable for WebCore::QNetworkReplyHandler'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x1396): undefined reference to `vtable for WebCore::QNetworkReplyHandler'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x1466): undefined reference to `vtable for WebCore::QNetworkReplyHandler'
./tmp\obj\debug_shared\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x1536): undefined reference to `vtable for WebCore::QNetworkReplyHandler'
collect2: ld returned 1 exit status
mingw32-make[1]: Leaving directory `C:/Qt/2009.03/qt/src/3rdparty/webkit/WebCore'
mingw32-make: Leaving directory `C:/Qt/2009.03/qt/src/3rdparty/webkit/WebCore'
mingw32-make[1]: *** [..\..\..\..\lib\QtWebKitd4.dll] Error 1
mingw32-make: *** [debug-all] Error 2
Exited with code 2.
Error while building project WebCore
When executing build step 'Make'
[ 此帖被q011在2009-09-22 11:52重新编辑 ]
离线q011
只看该作者 1楼 发表于: 2009-09-22
已经解决,是版本定义不对。
离线brucezhang
只看该作者 2楼 发表于: 2009-10-14
碰到了同样的问题。请问楼主是如何解决的?能说得详细一些吗?多谢了!
离线brucezhang
只看该作者 3楼 发表于: 2009-10-15
找到答案了
快速回复
限100 字节
 
上一个 下一个