Hello,

I'm trying to make working qml qt5 application (qt5.10) compiled for intel nuc (x86). App can un just fine but I have an issue with touchscreen. Touchscreen is detected and report events like:
Qt Code:
  1. Event: time 1539695782.829539, -------------- SYN_REPORT ------------
  2. Event: time 1539695782.830473, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
  3. Event: time 1539695782.830473, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
  4. Event: time 1539695782.830473, type 3 (EV_ABS), code 45 (?), value 6217
  5. Event: time 1539695782.830473, -------------- SYN_REPORT ------------
  6. Event: time 1539695782.916546, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
  7. Event: time 1539695782.916546, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
  8. Event: time 1539695782.916546, type 3 (EV_ABS), code 0 (ABS_X), value 2071
  9. Event: time 1539695782.916546, type 3 (EV_ABS), code 1 (ABS_Y), value 2026
  10. Event: time 1539695782.916546, type 3 (EV_ABS), code 45 (?), value 7095
  11. Event: time 1539695782.916546, -------------- SYN_REPORT ------------
  12. Event: time 1539695782.926345, type 3 (EV_ABS), code 45 (?), value 7191
  13. Event: time 1539695782.926345, -------------- SYN_REPORT ------------
  14. Event: time 1539695782.935535, type 3 (EV_ABS), code 45 (?), value 7288
  15. Event: time 1539695782.935535, -------------- SYN_REPORT ------------
  16. Event: time 1539695782.945547, type 3 (EV_ABS), code 45 (?), value 7386
To copy to clipboard, switch view to plain text mode 

So looks like /dev/input/event5 is touch screen but when run qml application (with export QT_LOGGING_RULES=qt.qpa.*=true) and get this:
Qt Code:
  1. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  2. qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu", "eglfs_kms_egldevice", "eglfs_kms", "eglfs_x11")
  3. qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_kms", "eglfs_emu", "eglfs_kms_egldevice", "eglfs_x11")
  4. qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_kms"
  5. qt.qpa.eglfs.kms: New DRM/KMS via GBM integration created
  6. qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_kms"
  7. qt.qpa.eglfs.kms: platformInit: Opening DRM device
  8. qt.qpa.input: udev device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_DRM|Device_VideoMask)
  9. qt.qpa.input: Found matching devices ("/dev/dri/card0")
  10. qt.qpa.eglfs.kms: Found the following video devices: ("/dev/dri/card0")
  11. qt.qpa.eglfs.kms: Using "/dev/dri/card0"
  12. qt.qpa.eglfs.kms: Using backend-provided DRM device /dev/dri/card0
  13. qt.qpa.eglfs.kms: Creating GBM device for file descriptor 6 obtained from "/dev/dri/card0"
  14. qt.qpa.eglfs.kms: Querying EGLDisplay
  15. qt.qpa.eglfs.kms: "DP1" mode count: 18
  16. qt.qpa.eglfs.kms: mode 0 1920 x 1080 @ 60 hz
  17. qt.qpa.eglfs.kms: mode 1 1920 x 1080 @ 60 hz
  18. qt.qpa.eglfs.kms: mode 2 1680 x 1050 @ 60 hz
  19. qt.qpa.eglfs.kms: mode 3 1280 x 1024 @ 60 hz
  20. qt.qpa.eglfs.kms: mode 4 1440 x 900 @ 60 hz
  21. qt.qpa.eglfs.kms: mode 5 1366 x 768 @ 60 hz
  22. qt.qpa.eglfs.kms: mode 6 1280 x 800 @ 60 hz
  23. qt.qpa.eglfs.kms: mode 7 1280 x 720 @ 60 hz
  24. qt.qpa.eglfs.kms: mode 8 1280 x 720 @ 60 hz
  25. qt.qpa.eglfs.kms: mode 9 1024 x 768 @ 60 hz
  26. qt.qpa.eglfs.kms: mode 10 800 x 600 @ 60 hz
  27. qt.qpa.eglfs.kms: mode 11 800 x 600 @ 56 hz
  28. qt.qpa.eglfs.kms: mode 12 800 x 500 @ 60 hz
  29. qt.qpa.eglfs.kms: mode 13 720 x 480 @ 60 hz
  30. qt.qpa.eglfs.kms: mode 14 720 x 480 @ 60 hz
  31. qt.qpa.eglfs.kms: mode 15 640 x 480 @ 60 hz
  32. qt.qpa.eglfs.kms: mode 16 640 x 480 @ 60 hz
  33. qt.qpa.eglfs.kms: mode 17 720 x 400 @ 70 hz
  34. qt.qpa.eglfs.kms: Selected mode 0 : 1920 x 1080 @ 60 hz for output "DP1"
  35. qt.qpa.eglfs.kms: Physical size is QSizeF(440, 240) mm for output "DP1"
  36. qt.qpa.eglfs.kms: EDID data for output "DP1": identifier 'ELO', manufacturer 'Tyco Electronics', model '', serial '10720', physical size: 440.00x240.00
  37. qt.qpa.eglfs.kms: Creating new global GBM mouse cursor
  38. qt.qpa.eglfs.kms: Initializing cursor atlas from ":/cursor.json"
  39. qt.qpa.eglfs.kms: Skipping disconnected output "DP2"
  40. qt.qpa.eglfs.kms: Skipping disconnected output "HDMI1"
  41. qt.qpa.eglfs.kms: Sorted screen list: QVector(OrderedScreen(QPlatformScreen=0x81e360 ("DP1") : 2147483647 / QPoint(0,0) / primary: false))
  42. qt.qpa.eglfs.kms: Adding QPlatformScreen 0x81e360 ( "DP1" ) to QPA with geometry QRect(0,0 1920x1080) and isPrimary= false
  43. qt.qpa.input: libinput: event2 -
  44. qt.qpa.input: libinput: Power Button:
  45. qt.qpa.input: libinput: is tagged by udev as: Keyboard
  46. qt.qpa.input: libinput: event2 -
  47. qt.qpa.input: libinput: Power Button:
  48. qt.qpa.input: libinput: device is a keyboard
  49. qt.qpa.input: libinput: event6 -
  50. qt.qpa.input: libinput: Video Bus:
  51. qt.qpa.input: libinput: is tagged by udev as: Keyboard
  52. qt.qpa.input: libinput: event6 -
  53. qt.qpa.input: libinput: Video Bus:
  54. qt.qpa.input: libinput: device is a keyboard
  55. qt.qpa.input: libinput: event1 -
  56. qt.qpa.input: libinput: Power Button:
  57. qt.qpa.input: libinput: is tagged by udev as: Keyboard
  58. qt.qpa.input: libinput: event1 -
  59. qt.qpa.input: libinput: Power Button:
  60. qt.qpa.input: libinput: device is a keyboard
  61. qt.qpa.input: libinput: event0 -
  62. qt.qpa.input: libinput: Sleep Button:
  63. qt.qpa.input: libinput: is tagged by udev as: Keyboard
  64. qt.qpa.input: libinput: event0 -
  65. qt.qpa.input: libinput: Sleep Button:
  66. qt.qpa.input: libinput: device is a keyboard
  67. qt.qpa.input: libinput: event3 -
  68. qt.qpa.input: libinput: USB USB Keyboard:
  69. qt.qpa.input: libinput: is tagged by udev as: Keyboard
  70. qt.qpa.input: libinput: event3 -
  71. qt.qpa.input: libinput: USB USB Keyboard:
  72. qt.qpa.input: libinput: device is a keyboard
  73. qt.qpa.input: libinput: event4 -
  74. qt.qpa.input: libinput: USB USB Keyboard:
  75. qt.qpa.input: libinput: is tagged by udev as: Keyboard
  76. qt.qpa.input: libinput: event4 -
  77. qt.qpa.input: libinput: USB USB Keyboard:
  78. qt.qpa.input: libinput: device is a keyboard
  79. qt.qpa.input: libinput: event5 -
  80. qt.qpa.input: libinput: Atmel Atmel maXTouch Digitizer:
  81. qt.qpa.input: libinput: is tagged by udev as: Tablet
  82. qt.qpa.input: libinput: event5 -
  83. qt.qpa.input: libinput: Atmel Atmel maXTouch Digitizer:
  84. qt.qpa.input: libinput: device is a tablet
  85. qt.qpa.input: libinput: event10 -
  86. qt.qpa.input: libinput: HDA Intel PCH HDMI/DP,pcm=8:
  87. qt.qpa.input: libinput: is tagged by udev as: Switch
  88. qt.qpa.input: libinput: event11 -
  89. qt.qpa.input: libinput: HDA Intel PCH HDMI/DP,pcm=9:
  90. qt.qpa.input: libinput: is tagged by udev as: Switch
  91. qt.qpa.input: libinput: event12 -
  92. qt.qpa.input: libinput: HDA Intel PCH HDMI/DP,pcm=10:
  93. qt.qpa.input: libinput: is tagged by udev as: Switch
  94. qt.qpa.input: libinput: event7 -
  95. qt.qpa.input: libinput: HDA Intel PCH Front Headphone:
  96. qt.qpa.input: libinput: is tagged by udev as: Switch
  97. qt.qpa.input: libinput: event8 -
  98. qt.qpa.input: libinput: HDA Intel PCH HDMI/DP,pcm=3:
  99. qt.qpa.input: libinput: is tagged by udev as: Switch
  100. qt.qpa.input: libinput: event9 -
  101. qt.qpa.input: libinput: HDA Intel PCH HDMI/DP,pcm=7:
  102. qt.qpa.input: libinput: is tagged by udev as: Switch
  103. qt.qpa.input: Using xkbcommon for key mapping
To copy to clipboard, switch view to plain text mode 

in my qt app I'm using qvirtualkeyboard which will popup when want to edit something but as touchscreen not working I cannot enter anything. Any ideas how to solve this issue? Thanks.