QT遇到问题贴

来源:互联网 发布:中国银行合肥软件中心 编辑:程序博客网 时间:2024/05/02 13:51

(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了

原创粉丝点击