Error message: qt.qpa.xcb: X server does not support XInput 2

This thread seem to have a better solution.