<?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" /> <!-- wince-introduction.qdoc --> <title>Windows CE - Introduction to using Qt | 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"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#required-tools">Required tools</a></li> <li class="level1"><a href="#installing-qt">Installing Qt</a></li> <li class="level1"><a href="#building-your-own-applications">Building your own applications</a></li> <li class="level1"><a href="#running-the-application">Running the application</a></li> </ul> </div> <h1 class="title">Windows CE - Introduction to using Qt</h1> <span class="subtitle"></span> <!-- $$$wince-with-qt-introduction.html-description --> <div class="descr"> <a name="details"></a> <a name="required-tools"></a> <h2>Required tools</h2> <p>In order to use Qt for Windows CE you need to have Visual Studio 2005 or 2008 and at least one of the supported Windows CE/Mobile SDKs installed. Note, that the Visual Studio 2008 Standard Edition doesn't come with Windows CE support. You will need the Professional Edition, if you're using Visual Studio 2008.</p> <a name="installing-qt"></a> <h2>Installing Qt</h2> <p>Follow the instructions found in <a href="install-wince.html">Installing Qt for Windows CE</a>.</p> <a name="building-your-own-applications"></a> <h2>Building your own applications</h2> <p>If you are new to Qt development, have a look at How to Learn Qt and <a href="qtexamplesandtutorials.html#tutorials">Tutorials</a>. In general there is little or no difference in developing Qt applications for Windows CE compared to any of the other platforms supported by Qt.</p> <p>Once you have a <tt>.pro</tt> file, you can build from the command line. Simply write:</p> <pre class="cpp">qmake nmake</pre> <p>For more information on how to use qmake have a look at the qmake Tutorial.</p> <a name="running-the-application"></a> <h2>Running the application</h2> <p>In order to run the application, it needs to be deployed on the Windows CE/Mobile device you want to test it for. This can either be done manually or automated using Visual Studio.</p> <p>To do it manually, simply copy the executable, the Qt <tt>.dll</tt> files needed for the application to run, and the C-runtime library into a folder on the device, and then click on the executable to start the program. You can either use the <i>Explorer</i> found in ActiveSync or the <i>Remote File Viewer</i> found in Visual Studio to do this.</p> <p>Further information on deploying Qt applications for Windows can be found in the <a href="deployment-windows.html">deployment document</a>.</p> </div> <!-- @@@wince-with-qt-introduction.html --> </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>