Merge "Autoenabling gesture mode only is the device is unmanaged" into qt-r1-dev