Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# TQt/Embedded as a VNC Server

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

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

        application -display VNC:0

then, run a VNC client pointing 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, TQt/Embedded will create a 640 by 480 pixel display. You can change this by setting the `TQWS_SIZE` environment variable to another size, e.g. `TQWS_SIZE=240x320`.

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

The TQt 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.