Installing Qt for Windows CE | Qt 5.4

- Qt 5.4
- Installing Qt for Windows CE
- Qt 5.4.2 Reference Documentation

# Installing Qt for Windows CE

Qt for Windows CE has some requirements that are given in more detail in the Qt for Windows CE Requirements document.

## Step 1: Install the License File (Commercial Editions Only)

Uncompress the files to the directory where you want to build; e.g., `C:\Qt\5.4.2`.

Note: The install path must not contain any spaces.

## Step 2: Set the Environment Variables

In order to build and use Qt, the `PATH` environment variable needs to be extended:

Make sure the environment variables for your compiler are set. Or simply use the "Visual Studio Command Prompt" from the Start menu.

## Step 3: Configure Qt

To configure Qt, for a custom SDK, type the following:

    C:
    cd \Qt\5.4.2
    configure -platform -xplatform wincewm70customsdk-msvc2008

If you want to configure Qt for another platform or with other options, type `configure -help` to get a list of all available options. See the `README` file for the list of supported platforms.

## Step 4: Build Qt Library

To build Qt type:

    nmake
    nmake install

That's all. Qt is now installed.

## Qt Examples

To get started with Qt, you can check out the examples found in the `examples` directory of your Qt installation. The documentation can be found in `doc\html`.

Note: 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.

The links below provide further information for using Qt:

- Qt Examples and Tutorials
- Deploying Qt Applications

You might also want to try the following Windows CE specific links:

- Windows CE - Introduction to using Qt
- Windows CE - Working with Custom SDKs
- Windows CE - Using shadow builds
- Windows CE - Signing

We hope you will enjoy using Qt. Good luck!