设好环境变量后运行编译例子仍出错?cannot find -lqpe。怎么回事?我的qpeLib目录下有libqpe。
具体情况如下:
------------------------------------------------------------
[root@localhost hello]# make
gcc -L/lib -Wl,-rpath,/lib -L/lib -Wl,-rpath,/lib -o /bin/hello
.obj/linux-generic-g++//hello.o .obj/linux-generic-g++//main.o
.obj/linux-generic-g++//hello_base.o .obj/linux-generic-g++//moc_hello_base.o
-lqpe -lqtopia -lqte
/usr/bin/ld: cannot find -lqpe
collect2: ld returned 1 exit status
make: *** [/bin/hello] Error 1
------------------------------------------------------------
环境变量的设置如下:
export QTDIR=$PWD/qt
export QPEDIR=$PWD/qtopia
export TMAKEDIR=$PWD/tmake
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH
各位谁能给我解惑?