2017-03-16 266 views
0

我的应用程序在嵌入式Linux设备上的QML-Qt5上运行。 当我将它插入USB端口时出现鼠标指针,但当我将应用程序旋转180°时,鼠标指针及其坐标不旋转。 这里是我的应用程序: 项目 {QT QML鼠标指针旋转

id: base 
signal handlerLoader(string name) 
property int click:1 
width:1280 
height: 800 

property int rotation_dialog:0 

Rectangle 
{ 
    id: view 
    color: "#000000" 
    width: base.width 
    height: base.height 
..... 

当我的显示器旋转,我去和旋转的观点一样,矩形“view.rotation:180” 里面的东西会旋转,但不是鼠标光标。 有没有办法旋转鼠标光标?

回答