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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

3,352 次查看
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 项奖励
回复
2 回复数

2,035 次查看
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 项奖励
回复

2,035 次查看
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.