Mac X11 Programming
Mac OSX 10.3 (Panther) now provides support for Unix
X11 Windows programming! Panther ships with support for the X Windows GUI and includes the
XTools IDE and
X11 SDK on the developer's CD. So you have all the tools for compiling and
running X Windows GUI programs on the Mac. X11 applications should be portable
to Unix, Linux and even Windows Systems running X11 (see Cygwin
below). More interesting is the
power of running X11 applications over a network. By its inherent nature, all
X11 applications are divided into a client and a server portion. This inherent
division in X11 applications provides built in support for network remote
access. X11 forwarding allows your
application to run on a remote host machine while displaying the X11 Window on a
local machine!
This section provides the information that you need to build X11 applications and then communicate with the application over a network. I have
compiled and tested a simple HelloWorld X11 Xt
application. You can also program using the C++ cross platform Qt
X11 framework. Check out the FAQ if you are having trouble
getting one of these frameworks to work.