回复: 求助:安装QT时出现的问题
#6 [lj_0212 12-18 16:18]
你既然用到了qvfb,那就是嵌入式编程了,界面是输出到framebuffer上的。
而qt库是基于x11的,这里不应该有x11的东西。
我印象中只链接qtopia的库就行了。
#7 [lj_0212 12-18 16:26]
export TMAKEPATH=$QTDIR/tmake/lib/qws/linux-generic-g++/tmake.conf
tmake的路径也要指定,参照这个样子吧。
#8 [lj_0212 12-18 16:27]
tmake/lib/linux-g++/tmake.conf is for X11 , and tmake/lib/qws/linux-arch-g++/tmake.conf is the right one for QTE("arch" is your cpu's architecture, you may use linux-generic-g++/tmake.conf for x86 or linux-arm-g++/tamke.conf for strongarm ).
Before you complier Qtopia example, you need set the environment variable TMAKEPATH to the right tmake.conf file.
eg: export TMAKEPATH=$QTDIR/tmake/lib/qws/linux-generic-g++/tmake.conf
#9 [yehe413 12-22 08:08]
我知道了,安装的时候少链接了一些库,所以有些可以有些不可以!~