|
CS 4121/5121
|
To help you do interesting things with your OO Xi compilers, we have decided to provide you with a basic GUI library. This way you can interact better with your programs, and perhaps draw some nice graphics. In particular, we provide an OO Xi interface to a subset of the cross-platform Qt library to Xi programs.
This library has been tested using our Xi compiler, but bugs are always possible! The staff will appreciate any feedback.
First of all, on any platform you'll want the
main source code distribution. Inside it, you'll find the
examples/
directory which contains some Xi programs which
may help you started.
Also, please make sure you're using up-to-date runtime support.
To compile QtXi from source yourself you'll need:
Once you have everything, follow these steps:
libxi.a
from the libxi
directory into the QtXi
directory.
qmake
is in your path.
QtXi/
directory in a terminal
qt.ixi
and
libQtXi.a
in the build
directory.
To link in with this library, you'll need to pass in
-lQtXi -lQtGui -lQtCore
as options to linkxi.sh
.
You can use -L/path/
options to add in additional library
search directories if needed.