(1) 执行 qvfb &
./hello -qws时出现:
[root@cz2sy aclock]# ./aclock
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 aclock as a server,
add the
"-qws" command-line option.
[root@cz2sy aclock]# ./aclock -qws
Can't open framebuffer device /dev/fb0
Can't open framebuffer device /dev/fb0
driver cannot connect
我解决的方法是重新设置QT、QT/E的环境变量 即可正常运行
还有人解决方法如下:在了lilo.conf或grub.conf中加入
vga=0x314
或其他模式
303 (800x600x8)
301 (640x480x8)
305 (1024x768x8)
然后重新启动就ok了