在嵌入式Linux中,QT程序通过QWebView加载了百度地图,但是无法拖动(在PC下所有的功能都实现了)。看百度地图JSAPI2.0的文档说:
touchstart {type, target, point,pixel} 触摸开始时触发此事件,仅适用移动设备
touchmove {type, target, point,pixel} 触摸移动时触发此事件,仅适用移动设备
touchend {type, target, point,pixel} 触摸结束时触发此事件,仅适用移动设备
longpress {type, target, point,pixel} 长按事件,仅适用移动设备
需要在移动端JS要使用这几个信号,但是我一直感应不到这几个信号,请问是什么原因呀