Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 2557

qt4-doc-4.6.3-0.2mdv2010.2.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">
<!-- installation.qdoc -->
<head>
  <title>Qt 4.6: Installing Qt on Windows CE</title>
  <link rel="prev" href="installation.html" />
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><p>
[Previous: <a href="installation.html">Installation</a>]
</p>
<h1 class="title">Installing Qt on Windows CE<br /><span class="subtitle"></span>
</h1>
<p><b>Note:</b> Qt for Windows CE has some requirements that are given in more detail in the <a href="requirements-wince.html">Qt for Windows CE Requirements</a> document.</p>
<ol type="1">
<li>Uncompress the files into the directory you want to install Qt into; e.g&#x2e;, <tt>C:\Qt\4.6.3</tt>.<p><b>Note:</b> The install path must not contain any spaces.</p>
</li>
<li>Environment variables<p>In order to build and use Qt, the <tt>PATH</tt> environment variable needs to be extended:</p>
<pre> PATH               - to locate qmake, moc and other Qt tools</pre>
<p>This is done by adding <tt>c:\Qt\4.6.3\bin</tt> to the <tt>PATH</tt> variable.</p>
<p>For newer versions of Windows, <tt>PATH</tt> can be extended through &quot;Control Panel-&gt;System-&gt;Advanced-&gt;Environment variables&quot; and for older versions by editing <tt>c:\autoexec.bat</tt>.</p>
<p>Make sure the enviroment variables for your compiler are set. Visual Studio includes <tt>vcvars32.bat</tt> for that purpose - or simply use the &quot;Visual Studio Command Prompt&quot; from the Start menu.</p>
</li>
<li>Configuring Qt<p>To configure Qt for Windows Mobile 5.0 for Pocket PC, type the following:</p>
<pre> C:
 cd \Qt\4.6.3
 configure -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005</pre>
<p>If you want to configure Qt for another platform or with other options, type <tt>configure -help</tt> to get a list of all available options. See the <tt>README</tt> file for the list of supported platforms.</p>
</li>
<li>Building Qt<p>Now, to build Qt you first have to update your <tt>PATH</tt>, <tt>INCLUDE</tt> and <tt>LIB</tt> paths to point to the correct resources for your target platforms. For a default installation of the Windows Mobile 5.0 Pocket PC SDK, this is done with the following commands:</p>
<pre> set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\ce\include;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i
 set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\armv4i;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I
 set PATH=C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm;%PATH%</pre>
<p>We provide a convenience script for this purpose, called <tt>setcepaths</tt>. Simply type:</p>
<pre> setcepaths wincewm50pocket-msvc2005</pre>
<p>Then to build Qt type:</p>
<pre> nmake</pre>
</li>
<li>That's all. Qt is now installed.<p>To get started with Qt, you can check out the examples found in the <tt>examples</tt> directory of your Qt installation. The documentation can be found in <tt>doc\html</tt>.</p>
<p><b>Remember:</b> If you reconfigure Qt for a different platform, make sure you start with a new clean console to get rid of the platform dependent include directories.</p>
<p>The links below provide further information for using Qt:</p>
<ul>
<li><a href="how-to-learn-qt.html">How to Learn Qt</a></li>
<li><a href="tutorials.html">Tutorials</a></li>
<li><a href="http://qt.nokia.com/developer">Developer Zone</a></li>
<li><a href="deployment.html">Deploying Qt Applications</a></li>
</ul>
<p>You might also want to try the following Windows CE specific links:</p>
<ul>
<li><a href="wince-with-qt-introduction.html">Windows CE - Introduction to using Qt</a></li>
<li><a href="windowsce-customization.html">Windows CE - Working with Custom SDKs</a></li>
<li><a href="shadow-builds-wince.html">Windows CE - Using shadow builds</a></li>
<li><a href="windowsce-signing.html">Windows CE - Signing</a></li>
</ul>
<p>Information on feature and performance tuning for embedded builds can be found on the following pages:</p>
<ul>
<li><a href="fine-tuning-features.html">Fine-Tuning Features in Qt</a></li>
<li><a href="qt-performance.html">Qt Performance Tuning</a></li>
</ul>
</li>
</ol>
<p>We hope you will enjoy using Qt. Good luck!</p>
<p>
[Previous: <a href="installation.html">Installation</a>]
</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>