1

我正在尝试在 Windows上构建http://anongit.kde.org/trojita 。

我安装了 Mingw 4.4 Qt 4.8.4 和 CMake 2.8.11.1。

链接步骤失败,出现十几个如下错误:

qwwsmtpclient.cpp:438: undefined reference to `_imp___ZNK7QString8endsWithERKS_N2Qt15CaseSensitivityE'

这是失败的命令:

d:\MinGW\4.4\bin\g++.exe   -Wall -g -g    -Wl,--whole-archive CMakeFiles\test_Composer_Submission.dir/objects.a -Wl,--no-whole-archive  -o test_Composer_Submission.exe -Wl,--out-implib,libtest_Composer_Submission.dll.a -Wl,--major-image-version,0,--minor-image-version,0  libImap.a libMSA.a libStreams.a libCommon.a libComposer.a libtest_LibMailboxSync.a h:\Qt\4.8.4\lib\libQtNetworkd4.a h:\Qt\4.8.4\lib\libQtSqld4.a h:\Qt\4.8.4\lib\libQtTestd4.a h:\Qt\4.8.4\lib\libQtGuid4.a libImap.a h:\Qt\4.8.4\lib\libQtNetworkd4.a h:\Qt\4.8.4\lib\libQtSqld4.a h:\Qt\4.8.4\lib\libQtCored4.a libComposer.a libMSA.a libStreams.a libCommon.a libqwwsmtpclient.a libMimetypesQt4.a h:\Qt\4.8.4\lib\libQtGuid4.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32

我检查并 libQtCored4 包含 __imp___ZNK7QString8endsWithERKS_N2Qt15CaseSensitivityE但不包含_imp___ZNK7QString8endsWithERKS_N2Qt15CaseSensitivityE

可能是什么问题?

完整的日志在这里http://paste.debian.net/13366/

4

0 回答 0