标题:qte在板子上运行有问题
作者:tamd2006
日期:2007-05-16 17:01
内容:
qte2,3,10,arm9,linux2.4.18
交叉编译好了examples里hello的例子,下载到板子上运行。
./hello -qws
出来了界面,但窗口里的字是静止的,应该字是飘动的才对啊。好像是timer不管用了,请教各位有知道原因的么?
2。不是很明白为什么要加-qws,我不加的时候出错
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
No Qt/Embedded server appears to be running.
If you want to run this program as a server,
add the "-qws" command-line option.
framebuffer已经测试过已经启动了。
#1 [shiroki 05-21 11:54]
-qws是让程序以server方式启动。 qte应用程序环境里第一个启动的程序要加这个选项, 因为要有一个server负责管理所有的qte应用。
你说的hello执行的问题就不晓得是咋回事了。建议你在hello的code里加一些debug信息看看, 比如在timeout里打个信息,看看timer是不是正确执行了。