回复: 开贴整理常见编译错误集锦 -- 不断更新中
#6 [wicoo401 11-20 14:40]
再提一个问题:关于编译qtopia时的配置问题:
./configure -debug -edition pda -no-qtopiadesktop -displaysize 240x320
出现错误ERROR: Missing file /usr/lib/qt3/include/qglobal.h
Did you pass a valid location to -dqt?
/usr/lib/下没有qt3 只有qt-3.1和qt2修改路径QT3DIR指向qt-3.1或qt2后再重新编译:
Expecting Qt to be at least version 3.3.0,
found only version 2.3.1, aborting configure.
精华贴中提到configure qtopia的时候没有加-no-qtopiadesktop选项或者用到了-languages参数就得准备qt-x11-3.x了
具体该怎么配置呢 才不用装qt-x11-3.x
#7 [shiroki 11-20 19:25]
加-no-qtopiadesktop选项应该就不需要qt3了
那个指定qt3的环境变量不是qt3dir , 是DQTDIR
#8 [wicoo401 11-23 16:24]
另一种解决办法,更改configure文件中Permanent settings:
my $mindqtVersion = "3.3.0"->"3.1.0"
编译通过,qtopia-2.1.1能用了,谢谢shiroki一直来的帮忙
#9 [cavendish 11-23 16:28]
qtopia中用到Qt3的东西有
一个是qtopiadesktop
一个是国际化
qtopia中使用的是qt3中的lupdate, lrelease
#10 [slient 03-31 19:38]
/usr/local/arm/2.95.3/arm-linux/bin/ld: cannot find -lqassistantclient
collect2: ld returned 1 exit status
make[3]: *** Error 1
make[3]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1/examples/helpdemo'
make[2]: *** Error 2
make[2]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1/examples'
make[1]: *** Error 2
make[1]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1'
make: *** Error 2
交叉编译QT/e库的时候出现上述错误,有谁知道原因吗?谢谢