Multitouch on imx6 with Qt 5.1

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

Multitouch on imx6 with Qt 5.1

2,766 Views
bryan_prather
Contributor II

Does anyone know what is required to get multitouch to work on an imx6 with Qt 5?  I have a nitrogen6x board with FT5x06 pcap.  I tried the EvdevTouch but it doesn't work at all.

Labels (3)
0 Kudos
5 Replies

911 Views
EricNelson
Senior Contributor II

Hi Bryan,

I just tested a Qt-5 build with Cinematic Experience demo, and things

appeared to work without any command-line argument for the touch

screen:

    root@nitrogen6x:/usr/bin# ./Qt5_CinematicExperience -platform eglfs

I built with multi-touch support by patching nitrogen6x/defconfig

as shown below:

diff --git a/recipes-kernel/linux/linux-boundary-3.0.35/nitrogen6x/defconfig b/r
index 11e0729..97ba84c 100644
--- a/recipes-kernel/linux/linux-boundary-3.0.35/nitrogen6x/defconfig
+++ b/recipes-kernel/linux/linux-boundary-3.0.35/nitrogen6x/defconfig
@@ -130,7 +130,7 @@ CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_TOUCHSCREEN_EGALAX=y
 CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH=y
 CONFIG_TOUCHSCREEN_FT5X06=y
-CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH=y
+# CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH is not set
 CONFIG_TOUCHSCREEN_TSC2004=y
 CONFIG_INPUT_MISC=y
 CONFIG_INPUT_UINPUT=y

What app(s) are you using to determine if multi-touch is functional?

The Cinematic experience demo doesn't appear to do anything with

multi-touch gestures (pinch, zoom).

0 Kudos

911 Views
bryan_prather
Contributor II

Eric,

If I don’t supply the tslib plugin then the touch doesn’t work for the cinematic experience demo. When I build Linux with single touch disabled then I get no touch input in any application including the cinematic experience demo.

0 Kudos

911 Views
EricNelson
Senior Contributor II

Hi Bryan,


I'm not sure whether this is a build-time issue or a configuration issue, but you're seeing different results from our local testing.

What version of Qt5 are you running?

How did you configure it?

0 Kudos

911 Views
bryan_prather
Contributor II

I’m running Qt 5.1.1. See attached file “OPTI Medical Build.htm” for process to build SD image, SDK, and Qt 5.1.1.

0 Kudos

911 Views
EricNelson
Senior Contributor II

Thanks Bryan,

I'll walk through that and see how it differs from a build of ours.

Meanwhile, can I get you to try this image (Qt 5.2.1 from meta-qt5):

      http://boundarydevices.com/eula?file=core-image-minimal-nitrogen6x-20140422163925.rootfs.sdcard.gz

0 Kudos