QWS 中的鼠标支持

发布于 2024-12-24 03:41:13 字数 1000 浏览 0 评论 0原文

我已经编译了 Qt4 嵌入式 SDK,以便在 BeagleBoard 上使用,并具有以下选项:

./configure 
-embedded arm 
-platform qws/linux-x86-g++ 
-xplatform qws/linux-TIarmv7-sgx-g++ 
-depths 16,24,32 
-no-mmx 
-no-3dnow 
-no-sse 
-no-sse2 
-no-glib 
-no-cups 
-no-largefile 
-no-accessibility 
-no-openssl 
-no-gtkstyle 
-qt-mouse-pc 
-qt-mouse-linuxtp 
-qt-mouse-linuxinput 
-plugin-mouse-linuxtp 
-plugin-mouse-pc 
-fast -opengl es2 
-qt-gfx-transformed 
-qt-gfx-vnc 
-qt-gfx-linuxfb 
-qt-gfx-multiscreen 
-plugin-gfx-powervr 
-D QT_QWS_CLIENTBLIT 
-opensource 
-confirm-license 
-multimedia 
-optimized-qmake

我已经使用此 SDK 创建了一个简单的 Hello World GUI 应用程序并成功编译。我已经在 BeagleBoard 上运行了我的应用程序:

./Hello World -mouse -qws

但我的鼠标不起作用。然后我尝试将 QWS_MOUSE_PROTO 设置为 MicrosoftIntelliMouseMouseMan,如 Qt4 文档中所述,然后再运行我的应用程序,但它没有用。我在运行应用程序之前测试了我的鼠标,因此我确信我的鼠标可以正常工作。我在 Beagleboard 上使用 Angstrom。

谁能告诉我有什么问题吗?

I have compiled Qt4 embedded SDK for using on BeagleBoard with following options:

./configure 
-embedded arm 
-platform qws/linux-x86-g++ 
-xplatform qws/linux-TIarmv7-sgx-g++ 
-depths 16,24,32 
-no-mmx 
-no-3dnow 
-no-sse 
-no-sse2 
-no-glib 
-no-cups 
-no-largefile 
-no-accessibility 
-no-openssl 
-no-gtkstyle 
-qt-mouse-pc 
-qt-mouse-linuxtp 
-qt-mouse-linuxinput 
-plugin-mouse-linuxtp 
-plugin-mouse-pc 
-fast -opengl es2 
-qt-gfx-transformed 
-qt-gfx-vnc 
-qt-gfx-linuxfb 
-qt-gfx-multiscreen 
-plugin-gfx-powervr 
-D QT_QWS_CLIENTBLIT 
-opensource 
-confirm-license 
-multimedia 
-optimized-qmake

Than I have created a simple Hello World GUI application with this SDK and compiled successfully. And I have run my application on BeagleBoard:

./Hello World -mouse -qws

But my mouse did not work. Then I tried setting QWS_MOUSE_PROTO to Microsoft, IntelliMouse and MouseMan as mentioned in Qt4 docs before running my application but it did not work. I have tested my mouse before running my application so I am sure my mouse works. I am using Angstrom on my Beagleboard.

Can anybody tell me what is the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

七堇年 2024-12-31 03:41:13

您是否尝试过使用QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mice

您使用什么输入驱动程序?也许是evdev?

Have you tried with QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mice?

What input driver are you using? evdev perhaps?

乖乖兔^ω^ 2024-12-31 03:41:13

导出 QWS_KEYBOARD="LinuxInput:/dev/input/event0 LinuxInput:/dev/input/event1"
导出 QWS_MOUSE_PROTO="LinuxInput:/dev/input/event0 LinuxInput:/dev/input/event1"

export QWS_KEYBOARD="LinuxInput:/dev/input/event0 LinuxInput:/dev/input/event1"
export QWS_MOUSE_PROTO="LinuxInput:/dev/input/event0 LinuxInput:/dev/input/event1"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文