[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

请问:关于QT4 OPENSOURCE的静态链接问题



各位:
    想插一个跟LINUX无关的问题。
    前些天,我下载了qt-win-opensource-desktop-4.0.0-mingw.exe 和
 mingw-4.1.0,装好后,按着文档编译了一下没有问题,生成的文件很小,是需要动态
链接库的,我想进行一下静态链接,就按照《Deploying Applications on Windows》
(http://doc.trolltech.com/qq/qq10-windows-deployment.html)里介绍的重新编译;
QT:
cd %QTDIR%
configure -static
make sub-src
结果到这步就报错说:
ar -ru (后面很长一段)
The input line is too long.
mingw32-make[3]: *** [E:/prog/Qt/lib\libQtCore.a] Error 255
mingw32-make[3]: Leaving directory `E:/prog/Qt/src/corelib'
mingw32-make[2]: *** [release] Error 2
mingw32-make[2]: Leaving directory `E:/prog/Qt/src/corelib'
mingw32-make[1]: *** [sub-corelib-make_first-ordered] Error 2
mingw32-make[1]: Leaving directory `E:/prog/Qt/src'
mingw32-make: *** [sub-src] Error 2
然后就退出了。

我到qt-interest邮件列表上也看见有人遇到这个问题,好像没有解决的样子。
不知道这里有人了解么?

期盼答复



Reply to: