我的qte程序昨晚编译可以了,可是今天开机就不编译出错,我重新指定了一下QTDIR的路径,就显示
g++ -c -pipe -Wall -W -O2 -DNO_DEBUG -I/host/qt-2.3.7/include -o imagefip.o imagefip.cpp
/host/qt-2.3.7/bin/moc showimg.h -o moc_showimg.cpp
g++ -c -pipe -Wall -W -O2 -DNO_DEBUG -I/host/qt-2.3.7/include -o moc_showimg.o moc_showimg.cpp
/host/qt-2.3.7/bin/moc imagetexteditor.h -o moc_imagetexteditor.cpp
g++ -c -pipe -Wall -W -O2 -DNO_DEBUG -I/host/qt-2.3.7/include -o moc_imagetexteditor.o moc_imagetexteditor.cpp
/host/qt-2.3.7/bin/moc imagefip.h -o moc_imagefip.cpp
g++ -c -pipe -Wall -W -O2 -DNO_DEBUG -I/host/qt-2.3.7/include -o moc_imagefip.o
moc_imagefip.cpp
g++ -o showimg main.o imagetexteditor.o showimg.o imagefip.o moc_showimg.o moc_imagetexteditor.o moc_imagefip.o -L/host/qt-2.3.7/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [showimg] Error 1
这个cannot find -lqt到底是什么问题,我总是会遇到这个问题,能帮我解答一下吗?非常感谢!
[ 此贴被XChinux在2006-08-03 20:50重新编辑 ]