CS 4121
|
To help you do interesting things with your IX 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 IX interface to a subset of the cross-platform Qt library to IX programs.
Please do keep in mind, however, that this was developed without access to an IX compiler, so bugs are not unlikely. 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 IX programs which
may help you started.
If you use Windows, we also provide a precompiled version of the bindings library, plus the two Qt DLLs and link libraries you will need.
Also, please make sure you're using an up-to-date i9 runtime.
To compile QtIX from source yourself you'll need:
Once you have everything, follow these steps:
libi9.a
into the QtIX
directory.
qmake
is in your path.
QtIX/
directory in a terminal
qt.ixi
and
libQtIX.a
in the build
directory.
To link in with this library, you'll need to pass in
-lQtIX -lQtGui4 -lQtCore4
as options to linki9.sh
.
You can use -L/path/
options to add in additional library
search directories if needed.