Unplugging the tablet does not help. You have to at least temporarily disable the driver.
The issue is described in detail here: https://bugreports.qt.io/browse/QTBUG-47548
You can stop the driver like this: net stop WTabletServicePro
And restart the driver with this command: net start WTabletServicePro