1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Qt Toolkit - Qnx framebuffer specific notes</title><style type="text/css"><!--
h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }body { background: white; color: black; }
--></style></head><body bgcolor="#ffffff">
<p>
<table width="100%">
<tr><td><a href="index.html">
<img width="100" height="100" src="qtlogo.png"
alt="Home" border="0"><img width="100"
height="100" src="face.png" alt="Home" border="0">
</a><td valign=top><div align=right><img src="dochead.png" width="472" height="27"><br>
<a href="classes.html"><b>Classes</b></a>
-<a href="annotated.html">Annotated</a>
- <a href="hierarchy.html">Tree</a>
-<a href="functions.html">Functions</a>
-<a href="index.html">Home</a>
-<a href="topicals.html"><b>Structure</b></a>
</div>
</table>
<h1 align=center> Qnx framebuffer specific notes</h1><br clear="all">
There are quite a few additional environment variables that
need to be set.
<p>
LD_LIBRARY_PATH=/lib/dll::$(QTDIR)/lib:$(LD_LIBRARY_PATH)
CVSDIR should be set to the directory where you checked out the
gddk.
<p>
Once the library is built, you'll need to set more env vars to run
your programs.
<p>
These variables refer to the PCI settings of your video card.
The example is appropriate for my i810 card.
QWS_DEVICEID=7125
QWS_VENDORID=8086
QWS_INDEX=0
<p>
This variable refers to the screen parameters you would like set.
Read your video and monitor documentation or if you have Photon,
use crttrap to figure out what you want.
QWS_SIZE = 1024x768x24@60
gives 1024 by 768 with 24 bit colour and 60 hz refresh
<p>
Set QWS_MOUSE_PROTO to the mouse device you specified with
your pointer resource handler. Only relative devices such as
mice are supported, not absolute devices such as touchscreens.
Make sure that when you run your input device resource manager,
you specify to not start the Photon interface. Eg:
devi-hirun -P kbd fd -d/dev/kbd ps2 kb -2
will allow you to use the keyboard and a PS/2 mouse by redirecting
the console input. Note that you wont be able to type anything
once you redirect the input!
QWS_MOUSE_PROTO=/dev/devi/mouse0
<p>
Exporting DL_DEBUG=1 will give you some more information from
the dynamic loader.
<p>
luke@trolltech.com is responsible for this port. Please email me
with any bugs or comments, with the subject line qt-qnx-port.
<p><address><hr><div align="center">
<table width="100%" cellspacing="0" border="0"><tr>
<td>Copyright 2001 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a>
<td align="right"><div align="right">Qt version 2.3.2</div>
</table></div></address></body></html>
|