Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 112b0974ad288f6cd55bf971ee6026a9 > files > 700

libqt3-devel-3.0.2-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /tmp/qt-3.0-reggie-28534/qt-x11-free-3.0.2/doc/qws.doc:35 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Installing Qt/Embedded</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: #ffffff; color: black; }
--></style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
 <a href="index.html">
<font color="#004faf">Home</font></a>
 | <a href="classes.html">
<font color="#004faf">All&nbsp;Classes</font></a>
 | <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
 | <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
 | <a href="groups.html">
<font color="#004faf">Grouped&nbsp;Classes</font></a>
 | <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Installing Qt/Embedded</h1>

 
<p> This installation procedure is written for Linux. It may need
to be modified for other platforms.
<p> <ol type=1>
<li> Unpack the archive if you have not done so already
<p> <pre>
    cd &lt;anywhere&gt;;
    gunzip qt-embedded-VERSION-commercial.tar.gz    # uncompress the archive
    tar xf qt-embedded-VERSION-commercial.tar       # unpack it
</pre>
 
Replace VERSION with the Qt/Embedded version number throughout.
<p> This document assumes that the archive is installed as <tt>~/qt-VERSION</tt>. 
<li> Compile the Qt/Embedded library and examples.
<p> <pre>
    cd ~/qt-VERSION
    export QTDIR=~/qt-VERSION
    ./configure
    make
</pre>
 
<p> The configuration system is designed to allow platform-specific options
to be added, but in general all Linux system which have framebuffer
support can use the "linux-generic-g++" platform.
The configuration system also supports cross-compilers:
to build <em>on</em> Linux/x86 <em>for</em> the Linux/MIPSEL target, you would use:
<pre>
    ./configure -platform linux-x86-g++ -xplatform linux-mips-g++
</pre>
 
<p> Only a small number of configurations are predefined, all much the same.
Configurations files are found in <tt>configs/</tt>.
<p> <li> Enable framebuffer support.
<p> You may need to recompile your kernel to enable the framebuffer.
This document does not describe how to do this; the
<a href="emb-framebuffer-howto.html">HOWTO-Framebuffer page</a>
contains a short description. (You should see
a penguin logo at boot time when the frame buffer is enabled.)
<p> For Matrox G100/G200/G400 use the matrox frame buffer driver.
<p> For NVidia TNT cards use the nvidia frame buffer driver.
<p> For Mach64 and most other cards, use the vesafb driver.
<p> Note that some cards are only supported in VGA16 mode, this will
not work with the current version of Qt/Embedded, since VGA/16 is
not yet supported. You may need to upgrade your kernel, or even
switch to an experimental kernel.
<p> The frame buffer must also be enabled with a boot parameter. See
<tt>/usr/src/linux/Documentation/fb</tt> for details.
<p> The <tt>fbset</tt> program, which should be included in Linux distributions,
may be used to switch video modes without rebooting the system. The
video mode active when the server is started will be used. (8-bit
modes are still experimental.) <b>Note</b>: <tt>fbset</tt> does not work
with the vesafb driver.
<p> <li> Change permissions.
<p> To run Qt/Embedded, you need write access to the framebuffer device
<tt>/dev/fb0</tt>. 
<p> You also need read access to the mouse device. (Note that
<tt>/dev/mouse</tt> is normally a symbolic link; the actual mouse device
must be readable.)
<p> <li> How to run the demonstration program.
<p> Log into a virtual console and do:
<p> <pre>
    cd ~/qt-VERSION/
    ./start-demo
</pre>
 
<p> <li> Miscellaneous troubleshooting and known bugs.
<p> To kill gpm, run the following command as root:
<p> <pre>
    gpm -k
</pre>
 
<p> In some cases, if the server does not work, it will work when run as root.
<p> Some example programs may not compile with GCC 2.95.
<p> Show processes using the framebuffer:
<p> <pre>
    fuser -v /dev/fb0
</pre>
 
<p> Kill such processes:
<pre>
    fuser -vk /dev/fb0
</pre>
 
or harsher:
<pre>
    fuser -k -KILL /dev/fb0
</pre>
 
<p> Show existing semaphores:
<pre>
    ipcs            
</pre>
 
<p> Remove semaphores:
<pre>
    ipcrm
</pre>
 
<p> The communication between client and server is done through the
named pipe <tt>/tmp/.QtEmbedded</tt>; sometimes it may need to be deleted
(eg. if you run Qt/Embedded as root then later as an unprivileged user).
<p> <li> Customization.
<p> The Qt/Embedded library can be reduced in size by
<a href="emb-features.html">removing unnecessary features</a>.
<p> </ol>
<p> 
<!-- eof -->
<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2001 
<a href="http://www.trolltech.com">Trolltech</a><td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a>
<td align=right><div align=right>Qt version 3.0.2</div>
</table></div></address></body>
</html>