Windows CE - Introduction to using Qt

Required Tools

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.

Installing Qt

Follow the instructions found in Installing Qt for Windows CE.

Building Your Own Applications

If you are new to Qt development, have a look at Qt Overviews and Tutorials. 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.

Once you have a .pro file, you can build from the command line. Simply write:

qmake
nmake

For more information on how to use qmake have a look at the qmake Tutorial.

Running the Application

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.

To do it manually, simply copy the executable, the Qt .dll 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 Explorer found in ActiveSync or the Remote File Viewer found in Visual Studio to do this.

Further information on deploying Qt applications for Windows can be found in the deployment document.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.