• 6903阅读
  • 0回复

【提问】如何打开framebuf [复制链接]

上一主题 下一主题
离线roy_skyx
 

只看楼主 倒序阅读 楼主  发表于: 2006-01-24
文字
[root@localhost buttongroups]# ls
buttongroups     buttongroups.doc buttongroups.pro Makefile
buttongroups.cpp buttongroups.h   main.cpp       README
[root@localhost buttongroups]# ./buttongroups
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.
[root@localhost buttongroups]# ./buttongroups -qws
Can't open framebuffer device /dev/fb0
: driver cannot connect
[root@localhost buttongroups]# qvfb
bash: qvfb: command not found
[root@localhost buttongroups]# ls
buttongroups     buttongroups.doc buttongroups.pro Makefile
buttongroups.cpp buttongroups.h   main.cpp       README
[root@localhost buttongroups]# cd ..
[root@localhost examples]# ls

redhat linux
qtembed3.3.4
qtx11 4.0.0

根据《Qt/Embedded开发环境建立的过程 》的介绍
make -C tools/qvfb
mv tools/qvfb/qvfb bin
cp bin/uic $QTEDIR/bin
cd ..

在qtx11 4.0.0中没有发现qvfb目录
不能make -C tools/qvfb

qtembed3.3.4
qtx11 4.0.0都是根据这篇文章介绍来安装的
qtx11 4.0.0中的例子可以运行。
快速回复
限100 字节
 
上一个 下一个