Adding Qt Versions | Qt Creator Manual

Qt Creator Manual | Adding Qt Versions

Qt Creator Manual 4.3.0

Adding Kits ◦ Adding Compilers

# Adding Qt Versions

Qt Creator allows you to have multiple versions of Qt installed on your development PC and use different versions to build your projects. For example, device manufacturers provide special Qt versions for developing applications for their devices.

Qt Creator automatically detects the Qt versions that are registered by your system or by installers. To view detailed information for each Qt version, select it in the list and select Details in the Qt version for section. To add Qt versions, select Tools > Options > Build & Run > Qt Versions.

You specify the Qt version to use for each kit for building and running your projects in Tools > Options > Build & Run > Kits.

### Setting Up New Qt Versions

To add a Qt version:

1. Select Tools > Options > Build & Run > Qt Versions > Add.
2. Select the qmake executable for the Qt version that you want to add.
3. Select the Qt version to view and edit it.

4. In the Version name field, edit the name that Qt Creator suggests for the Qt version.
5. In the qmake location field, you can change the qmake location.
6. If the Qt version is for QNX, enter the path to your installed QNX SDK in the QNX SDK field.

### Minimum Requirements

If your build of Qt is incomplete but you still want to use QMake as build system, you need to ensure the following minimum requirements to be able to use that setup with Qt Creator.

1. qmake is an executable that understands the -query command line argument.
2. The bin and include directories have to exist. Qt Creator fetches these directories by running `qmake -query`.
3. The mkspecs directory should be complete enough to parse .pro files.

If your Qt version has no libQtCore.so, Qt Creator is unable to detect the ABI.

Adding Kits ◦ Adding Compilers