My problem seems like this Touch not working when running Qt for embedded using eglfs platform
So, I have built the QT 4.8.5 with eglfs support by using this manual https://community.freescale.com/docs/DOC-94066
My flags is:
./configure -qpa -arch arm -xplatform qws/linux-imx6-g++ -no-largefile -no-accessibility \
-opensource -verbose -system-libpng -system-libjpeg -system-freetype -fast -opengl es2 -egl -confirm-license \
-qt-zlib -qt-libpng -no-phonon \
-make examples -make demos \
-I /tftpboot/rootfs/usr/include \
-L /tftpboot/rootfs/usr/lib \
-R /tftpboot/rootfs/usr/lib \
-release -make libs -exceptions -no-qt3support -prefix /opt/qt4
X server is started like this: "Xfbdev -nolisten tcp -mouse tslib,2,device=/dev/input/event2 -mouse mouse,2,device=/dev/input/mice -keybd keyboard,,device=/dev/input/keyboard0&"
The touch, mouse and keyboard are working without any problem in both X11 and matchbox-window-manager. So, I can launch xterm or matchbox window and operate with it.
However, if I launch any QT 4.8.5 application it is started correctly but doesn't react on any input. Moreover, click goes through application interface. I mean that I can click on icons in matchbox window even through launched application's GUI.
By the way, I launch QT applications like this: ./some_qt_examples -platform eglfs
This is a console output:
Opened display 0x33ec74f8
Initialized display 1 4
Unfortunately, I have never seen the same issue before. And I can't find any suitable solution for this. Moreover, I can't understand a reason of it.
So, now I forced to ask a help. Can someone guide me?
I will be appreciate for any advices!