为什么VC2005编译调用QtXXX.lib,而lib文件夹里都是QtXXX4.lib???
帮忙告诉下
我的是4.3.1的商业版,测试程序即为QT Application生成的默认程序
错误如下:
------ 已启动生成: 项目: qtest, 配置: Debug Win32 ------
Uic'ing c:\Documents and Settings\crazyi\My Documents\Visual Studio 2005\Projects\qtest\qtest\qtest.ui...
Moc'ing qtest.h...
正在编译...
moc_qtest.cpp
qtest.cpp
main.cpp
正在生成代码...
正在链接...
LINK : fatal error LNK1181: 无法打开输入文件“QtCored.lib”
生成日志保存在“file://c:\Documents and Settings\crazyi\My Documents\Visual Studio 2005\Projects\qtest\qtest\Debug\BuildLog.htm”
qtest - 1 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
将lib目录下的QtCored4.lib和QtCored4.dll中的4去掉以后就可以编译了
觉得很奇怪,为什么不直接调用QtCored4.lib呢??
[ 此贴被天下无雪在2008-08-27 13:47重新编辑 ]