QT 4.8.5 applications doesn't see any input (mouse, touch or keyboard) on imx6 Linux 3.0.35

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QT 4.8.5 applications doesn't see any input (mouse, touch or keyboard) on imx6 Linux 3.0.35

2,274 Views
konstantinkoval
Contributor II

Hello!

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!

0 Kudos
2 Replies

957 Views
olias
Contributor II

yes this issue is real.  I have imx6 (nitrogen6x) using qt-embedded-4.8.5 from yocto dora running in the qt4e-demo-image, with vivante on frame buffer.  The mouse works but is not truly smooth, the usb keyboard did not produce input, after a hack patch from 2012 I found online, it produces short bursts of keystrokes and misses many altogether.  There is very little discussion about this anywhere.  I am going back to x11 based qt project now, because I need to work on an application, but this must have an available solution.

0 Kudos

957 Views
Wlodek_D_
Senior Contributor II

Hello,

Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) to get it visible for active members.

For details please see general advice Where to post a Discussion?

Thank you for using Freescale Community.