Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2410

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /home/gvatteka/dev/qt-4.3/doc/src/emb-deployment.qdoc -->
<head>
  <title>Deploying Qtopia Core Applications</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">Deploying Qtopia Core Applications<br /><small></small></h1>
<p>The procedure of deploying an Qt application on Qtopia Core</tt> is essentially the same as the deployment procedure on Qt/X11 which is described in detail in the <a href="deployment-x11.html">Deploying an Application on Qt/X11</tt></a> documentation. See also the general remarks</tt> about deploying Qt applications.</p>
<p>In addition, there is a couple of Qtopia Core specific issues to keep in mind:</p>
<ul><li><a href="#qtopia-core-specific-fonts">Qtopia Core Specific: Fonts</a></li>
<li><a href="#qtopia-core-specific-environment-variables">Qtopia Core Specific: Environment Variables</a></li>
<li><a href="#qtopia-core-specific-framebuffer-support">Qtopia Core Specific: Framebuffer Support</a></li>
</ul>
<a name="qtopia-core-specific-fonts"></a>
<h2>Qtopia Core Specific: Fonts</h2>
<p>When Qtopia Core applications run, they look for a file called <tt>fontdir</tt> in Qtopia Core's <tt>/lib/fonts/</tt> directory defining the fonts that are available to the application (i.e&#x2e; the fonts located in the mentioned directory).</p>
<p>For that reason, the preferred fonts must be copied to the <tt>/lib/fonts/</tt> directory, and the <tt>fontdir</tt> file must be customized accordingly. See the <a href="qtopiacore-fonts.html">fonts</tt></a> documentation for more details about the supported font formats.</p>
<p>Note that the application will look for the <tt>/lib/fonts/</tt> directory relative to the path set using the <tt>-prefix</tt> parameter when running the <tt>configure</tt> script; ensure that this is a sensible path in the target device environment. See the <a href="qtopiacore-install.html#step-3-building-the-library">installation</tt></a> documentation for more details.</p>
<a name="qtopia-core-specific-environment-variables"></a>
<h2>Qtopia Core Specific: Environment Variables</h2>
<p>In general, any variable value that differs from the provided default values must be set explicitly in the target device environment. Typically, these include the <a href="qtopiacore-envvars.html#qws-mouse-proto"><tt>QWS_MOUSE_PROTO</tt></a>, <a href="qtopiacore-envvars.html#qws-keyboard"><tt>QWS_KEYBOARD</tt></a> and <a href="qtopiacore-envvars.html#qws-display"><tt>QWS_DISPLAY</tt></a> variables specifying the drivers for pointer handling, character input and display management, respectively.</p>
<p>For example, without the proper mouse and keyboard drivers, there is no way to give any input to the application when it is installed on the target device. By running the <tt>configure</tt> script using the <tt>-qt-kbd-&lt;keyboarddriver&gt;</tt> and <tt>-qt-mouse-&lt;mousedriver&gt;</tt> options, the drivers are enabled, but in addition the drivers and the preferred devices must be specified as the ones to use in the target environment, by setting the environment variables.</p>
<p>See the <a href="qtopiacore-pointer.html">pointer handling</tt></a>, <a href="qtopiacore-charinput.html">character input</tt></a> and <a href="qtopiacore-displaymanagement.html">display management</tt></a> documentation for more information.</p>
<a name="qtopia-core-specific-framebuffer-support"></a>
<h2>Qtopia Core Specific: Framebuffer Support</h2>
<p>No particular actions are required to enable the framebuffer on target devices: The Linux framebuffer is enabled by default on all modern Linux distributions. For information on older versions, see <a href="http://en.tldp.org/HOWTO/Framebuffer-HOWTO.html">http://en.tldp.org/HOWTO/Framebuffer-HOWTO.html</tt></a>.</p>
<p>To test that the Linux framebuffer is set up correctly, and that the device permissions are correct, use the program provided by the <a href="qtopiacore-testingframebuffer.html">Testing the Linux Framebuffer</tt></a> document.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2007 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt Jambi </div></td>
</tr></table></div></address></body>
</html>