- 論壇徽章:
- 0
|
red had 8.0完全安裝
安裝qtopia 1.6 free, 用的tmake 1.1 ,qt-x11-free-3.1.2 , (系統(tǒng)原來有qt的). 成功安裝了, 跑的很正常!
郁悶的是: 開始作應(yīng)用的時候,
1. tmake 用不起來,而qmake 是可以的.
tmake -o Makefile *.pro
tmake error: *.pro:2: Systax error
qmake可以用.
qmake -o Makefile *.pro
但是make出現(xiàn)error
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
應(yīng)該是Makefile 的問題 :
INCPATH = -I/root/qtopia/qtopia_1.6_install/qt-x11-free-3.1.2/mkspecs/default -I. -I$(QTDIR)/include -I.ui/ -I. -I.moc/
.......
LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
應(yīng)該怎么解決呢? 什么原因?
求救了!!
-lqt |
|