<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- installation.qdoc --> <title>Installing Qt for Windows CE | QtDoc 5.1</title> <link rel="stylesheet" type="text/css" href="style/offline.css" /> </head> <body> <div class="header" id="qtdocheader"></div> <div class="content"> <div class="line"> <div class="content mainContent"> <link rel="prev" href="installation.html" /> <p class="naviNextPrevious headerNavi"> <a class="prevPage" href="installation.html">Installation</a> </p><p/> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#step-1-install-the-license-file-commercial-editions-only">Step 1: Install the License File (commercial editions only)</a></li> <li class="level1"><a href="#step-2-set-the-environment-variables">Step 2: Set the Environment variables</a></li> <li class="level1"><a href="#step-3-configure-qt">Step 3: Configure Qt</a></li> <li class="level1"><a href="#step-4-build-qt-library">Step 4: Build Qt Library</a></li> <li class="level1"><a href="#qt-examples">Qt Examples</a></li> </ul> </div> <h1 class="title">Installing Qt for Windows CE</h1> <span class="subtitle"></span> <!-- $$$install-wince.html-description --> <div class="descr"> <a name="details"></a> <p>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> <a name="step-1-install-the-license-file-commercial-editions-only"></a> <h2>Step 1: Install the License File (commercial editions only)</h2> <p>Uncompress the files to the directory where you want to build; e.g., <tt>C:\Qt\5.1.1</tt>.</p> <p><b>Note: </b>The install path must not contain any spaces.</p><a name="step-2-set-the-environment-variables"></a> <h2>Step 2: Set the Environment variables</h2> <p>In order to build and use Qt, the <tt>PATH</tt> environment variable needs to be extended:</p> <p>Make sure the environment variables for your compiler are set. Or simply use the "<b>Visual Studio Command Prompt</b>" from the Start menu.</p> <a name="step-3-configure-qt"></a> <h2>Step 3: Configure Qt</h2> <p>To configure Qt, for a custom SDK, type the following:</p> <pre class="cpp">C: cd \<span class="type">Qt</span>\<span class="number">5.1.1</span> configure <span class="operator">-</span>platform <span class="operator">-</span>xplatform wincewm70customsdk<span class="operator">-</span>msvc2008</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> <a name="step-4-build-qt-library"></a> <h2>Step 4: Build Qt Library</h2> <p>To build Qt type:</p> <pre class="cpp">nmake nmake install</pre> <p><b>That's all. Qt is now installed.</b></p> <a name="qt-examples"></a> <h2>Qt Examples</h2> <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>Note: </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>How to Learn Qt</li> <li><a href="qtexamplesandtutorials.html">Qt Examples and Tutorials</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.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>Fine-Tuning Features in Qt</li> <li>Qt Performance Tuning</li> </ul> <p>We hope you will enjoy using Qt. Good luck!</p> </div> <!-- @@@install-wince.html --> <p class="naviNextPrevious footerNavi"> <a class="prevPage" href="installation.html">Installation</a> </p> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.</p> <br /> <p> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.</p> <p> Documentation sources may be obtained from <a href="http://www.qt-project.org"> www.qt-project.org</a>.</p> <br /> <p> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. <a title="Privacy Policy" href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p> </div> </body> </html>