Qt PowerVR 驱动程序鼠标指针不可用
我并不是想在这里发垃圾邮件,只是想更具体地说明 Qt 鼠标指针不适用于 PowerVR 的问题。所以我希望有人能回答我的问题。
Qt PowerVR 驱动程序需要使用 QT_NO_QWS_CURSOR 进行编译,这会停止使用鼠标,但仍为触摸屏留出空间。
我只是想知道为什么需要这个是因为硬件限制还是只是一个不完整的驱动程序。
非常感谢您提前提供的协助。
I am not trying to spam here just trying to be more specific about the issue of Qt mouse pointer not being available for PowerVR. So I hope someone will have a answer to my question.
Qt PowerVR driver needs to be compiled with QT_NO_QWS_CURSOR which stops usage of mouse but still leaves room for touch screens.
I just want to know why this is needed is it because of a hardware limitation or is it just a incomplete driver.
Thank you very much for assistanse well in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我从未尝试过该驱动程序,我只是看到了代码。我想这只是出于性能原因而使用。放置指针需要 Qt 在硬件加速的 OpenGL 图形上进行自己的软件合成,从而降低性能。
有可能只是省略指针出现的定义,或者无论如何使其出现只需要实例化它。无论如何,请考虑如果使用简单的软件光标,则将其放置在 OpenGL 表面上时可能效果不佳。您可能需要使用您可能拥有或可能没有的平台特定结构的实现。抱歉,如果我不能提供更多帮助。
I've never tried that driver, I just saw the code. I suppose that is only used for performance reasons. Placing a pointer requires Qt to do its own software compositing over hardware accelerated OpenGL graphics, reducing performance.
It is possible that simply omitting that definition your pointer appears, or anyway making it appear requires only to instantiate it. Consider anyway that if simple software cursor is used, it may not be good when placed over OpenGL surfaces. You might need an implementation using platform specific structures which you might have or might not. Sorry if I can't be of more help.