Is there a way to reload at runtime the plugin/module that manages the touchscreen (TSLib) input of a Qt application?
Practically, I need the same thing that is explained here: Reload tslib touch screen calibration.
BUT for a Qt5 application (where QWSServer and closeMouse/openMouse methods don't exist anymore).
The issue is that a Linux kernel module must be unloaded/loaded at runtime and when this happens, touchscreen stops working in the application (evtest works fine).
I'm trying to use QPluginLoader and ts_reconfig to make the touchscreen working again, but with no results.
Any ideas?