QT ./test_x86 show black screen,solution
--------------------------------------------------------------------------------------------------
//test_x86
#!/bin/sh
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/qvfb -width 640 -height 480 -depth 16 &
cd /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image
if [ -d root ] ; then
echo "the root directory is already !"
else
mkdir root
fi
export set HOME=$PWD/root
cd opt/Qtopia
export set PATH=$PWD/bin:$PATH
export set LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH
export set QTDIR=$PWD
export set QPEDIR=$PWD
export set KDEDIR=$PWD/../kde
sleep 1
qpe
----------------------------------------------------------------------------------
rm -r /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image/root
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。