新写了一个test程序。运行后出现一下错误
# ./arm_test -qws                               
                   
failed to get osd data! The display perhaps is not open!           
QScreenLinuxFb::connect: Operation not permitted                   
Error opening framebuffer device /dev/fb0                          
LinuxFb: driver cannot connect   
环境变量配置 
export LD_LIBRARY_PATH=/mnt/arm_test:$LD_LIBRARY_PATH
export QT_QWS_FONTDIR=/mnt/arm_test/fonts
export QTDIR=/mnt/arm_test
export QTEDIR=$QTDIR
export QWS_DISPLAY=LinuxFb:/dev/fb0
export QWS_DISPLAY="LinuxFb:mmWidth720:mmHeight272:0"
这里很奇怪
# cat /dev/fb0  
会出现一下打印。                                                   
failed to get osd data! The display perhaps is not open!           
cat: can't open '/dev/fb0': Operation not permitted  
请问哪位大神能帮忙看看。不胜感激啊