2440QT移植

时间:2016-12-25 16:31:18
【文件属性】:

文件名称:2440QT移植

文件大小:116KB

文件格式:DOC

更新时间:2016-12-25 16:31:18

QT移植

TQ2440之 QT移植流程 #!/bin/sh   echo Start Qt-4.7 > /dev/tq2440_serial0   export set HOME=/root export set QTDIR=/opt/qt-4.7 export set QPEDIR=/opt/qt-4.7 export set QWS_DISPLAY="LinuxFB:/dev/fb0" export set QWS_DISPLAY="LinuxFB:mmWidth130:mmHeight100:0" export set QWS_KEYBOARD="TTY:/dev/tty1" if [ -f /sys/devices/virtual/input/input0/uevent ] ; then        export set TSLIB_TSDEVICE=/dev/event0        export set TSLIB_CALIBFILE=/etc/pointercal        export set TSLIB_CONFFILE=/etc/ts.conf        export set TSLIB_PLUGINDIR=/lib/ts        export set QWS_MOUSE_PROTO="TSLIB:/dev/event0 Intellimouse:/dev/mouse0" else        export set QWS_MOUSE_PROTO="Intellimouse:/dev/mouse0"        if [ -f /etc/pointercal ] ; then               echo only use mouse > tq2440_serial0        else               echo "1 0 1 0 1 1 65536" >/etc/pointercal        fi fi export set QT_PLUGIN_PATH=$QTDIR/plugins/ export set QT_QWS_FONTDIR=$QTDIR/lib/fonts/ export set PATH=$QPEDIR/bin:$PATH export set LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/plugins/imageformats:$LD_LIBRARY_PATH   if [ -f /etc/pointercal ] ; then        $QPEDIR/bin/helloword -qws 1> /dev/null 2>/dev/null else        ts_calibrate #     $QPEDIR/bin/mousecalibration        $QPEDIR/bin/helloword -qws 1> /dev/null 2>/dev/null Fi


网友评论