AnsweredAssumed Answered

Porting QT 4.8.6's issure

Question asked by haibo he on Aug 27, 2015
Latest reply on Aug 28, 2015 by jamesbone

BSP is linux L3.14.28_1.0.0-ga

MACHINE=imx6sxsabresd source fsl-setup-release.sh -b build-wayland -e wayland

bitbake fsl-image-qt5

 

Porting QT4.8.6

 

Environmental variable:

harry@mh:~/NfsRoot/etc$ vim qt4_env

  1 #!/bin/sh

  2

  3 if [ -c /dev/input/event0 ]; then

  4     INPUT_PATH=/dev/input

  5 else

  6     INPUT_PATH=/dev

  7 fi

  8

  9 export TSLIB_TSDEVICE=/dev/input/event1

10 export TSLIB_CONFFILE=/etc/ts.conf

11 export TSLIB_PLUGINDIR=/lib/ts

12 export TSLIB_CALIBFILE=/etc/pointercal

13 export QTDIR=/usr/qt4_embedded_arm/

14 export PATH=$QTDIR/bin:$PATH

15 export LD_LIBRARY_PATH=$QTDIR/lib

16 export QWS_MOUSE_PROTO="Tslib:$INPUT_PATH/event1"

17 export QWS_KEYBOARD=TTY:/dev/tty1

18 export QT_QWS_FONTDIR=$QTDIR/lib/fonts/

19

20 export QWS_DISPLAY="LinuxFB:/dev/fb0" 

22

23 export KDEDIR=/opt/kde

24

25 export HOME=/root

 

./test -qws  

 

Move the mouse

 

App is not on the table,

 

but app is running.

 

I don't know how to show it

 

Running in the foreground

 

Use the mouse to operate it

Outcomes