我们使用QT/Embedded 3.3.4
compile 成功后
透后nfs把 Hello 这个范例 放到板子(s3c2410)上执行
然后按照网络上的数据
修改 qmoselinuxtp_qws.ccp
我们在程序里加上这段
//**************************************//
if((mouseFD=open("/dev/touchscreen/0raw",O_RDONLY|O_NDELAY))<0{
qWarning("Cannot open /dev/touchscreen/0");
return;
}
//****************************************//
画面有显示
但Touchpanel还是无动作
接着我在执行程序之前
多设定这一行
export QWS_mouse_Proto=LinuxTP:/dev/touchscreen/0raw
后来执行时
./hello -qws error while loading shared libraries: /qt/lib/libqte-mt.so.3: symbol nl_langinfo, version GLIBC_2.0 not defined in file libc.so.6 with link time
不知是什么原因~
已经试了2~3个星期了 希望各位高手帮个忙阿