首页| 论坛| 消息

标题:armqte编译成功,但是运行程序时提示如下 arm版本的qte也加不到creator中去
作者:apollo9
日期:2011-05-15 23:07
内容:

/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: skipping incompatible /home/xzh/QT/arm/lib/libQtGui.so when searching for -lQtGui
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: skipping incompatible /home/xzh/QT/arm/lib/libQtGui.so when searching for -lQtGui
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** 错误 1


#1 [cecho 05-16 08:32]
把qte的目录加到PATH环境变量中
#2 回 1楼(cecho) 的帖子 [apollo9 05-16 10:07]
已经加了啊
xzh@xzh-desktop:~/QT/arm/helloqt$ echo $PATH
/home/xzh/QT/arm/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/arm/3.4.1/bin
#3 回 2楼(apollo9) 的帖子 [cecho 05-21 20:34]
你试试 设置 qt的主目录到PATH,不要设置bin目录

回复 发表
主题 版块