I ran into the issue a number of months ago. I did not bookmark the write up I followed (sorry). I know that if you do not have all 3 of the options enabled it does not work. It took me a while to get all of them.
Below are snippets of my .config
#
# Input device support
#
CONFIG_INPUT=y
#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_EVBUG=m
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_OF_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_USB_COMPOSITE=m
CONFIG_TOUCHSCREEN_EGALAX=m
CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y
#
# HID support
#
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
CONFIG_UHID=y
CONFIG_HID_GENERIC=y
CONFIG_HID_MULTITOUCH=m
#
# USB HID support
#
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_I2C_HID is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
Make sure you have the multitouch driver enabled in your kernel. I built mine as a module.
root@cgtimx6:/etc/X11/Xinit.d# lsmod
Module Size Used by
hid_multitouch 9247 0
....
Second make sure that the devices are recognized.
root@cgtimx6:/etc/X11/Xinit.d# lsusb
Bus 002 Device 004: ID 0eef:b100 D-WAV Scientific Co., Ltd
Bus 002 Device 003: ID 0eef:b100 D-WAV Scientific Co., Ltd
Third check to see if the devices are created
root@cgtimx6:/etc/X11/Xinit.d# ls /dev/input/ -l
drwxr-xr-x 2 root root 60 Jan 1 00:00 by-id
drwxr-xr-x 2 root root 100 Jan 1 00:00 by-path
crw-rw---- 1 root input 13, 64 Jan 1 00:00 event0
crw-rw---- 1 root input 13, 65 Jan 1 00:00 event1
crw-rw---- 1 root input 13, 66 Jan 1 00:00 event2
crw-rw---- 1 root input 13, 63 Jan 1 00:00 mice
crw-rw---- 1 root input 13, 32 Jan 1 00:00 mouse0
crw-rw---- 1 root input 13, 33 Jan 1 00:00 mouse1
lrwxrwxrwx 1 root root 6 Jan 1 00:00 touchscreen0 -> event2
Check in your syslog to make sure that the devices are being recognized. Once you get the recognized, X just worked for me. I run my QT app under X.
I hope it helps. If you want, I can provide you my .config I don't promise it will work for you.
--Michael