QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Using graphics in QNX4 programs |
Ref. No. |
QNX.000004505 |
Category(ies) |
Development |
Issue |
We found some graphic functions that are defined in the Watcom header /usr/include/graph.h, but couldn't find these functions in the graph.lib library. We are using Watcom 10.6 C compiler.
What is the method for using graphics in our programs?
|
Solution |
Watcom 10.6 does not support the Watcom graphics functions. They have been depreciated from 9.52. The recommended graphics method is to use the Photon Application Builder libraries. There is also X for QNX which will let you use the X Windows utilities and tools.
If you don't have a GUI (graphical user interface) such as the Photon microGUI windowing system, your option is ncurses. The archive containing the libraries, headers, and some examples is available in the free software archives located on QUICS, or through the free software link on the QNX website. |
|