返回介绍

Qt/Embedded as a VNC Server

发布于 2019-10-04 14:57:56 字数 1000 浏览 1041 评论 0 收藏 0

The VNC protocol
allows you to view and interact with the computer's display from
anywhere on the network.

To use Qt/Embedded in this way, configure Qt with the -vnc option,
and ensure you also enable 16-bit display support. Run your application via:

    application -display VNC:0

then, run a VNC client pointed at the machine that is running your
application. For example, using the X11 VNC client to view the
application from the same machine:

    vncviewer localhost:0

By default, Qt/Embedded will create a 640 by 480 pixel display. You can change
this by setting the QWS_SIZE environment variable to another size,
e.g. QWS_SIZE=240x320.

VNC clients are available for a vast array of display systems - X11,
Windows, Amiga, DOS, VMS, and dozens of others.

The Qt Virtual Framebuffer is an alternative
technique. It uses shared memory and thus is much faster and smoother, but
it does not operate over a network.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文