Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions

Deploying Qt Applications

This document lists the platform-specific files needed to distribute Qt applications. We do not include any compiler-specific files that may also be required. (See also, Window System-specific Notes.)

Also see the "deployment" articles in Qt Quarterly:

Static Qt Applications

To distribute static Qt applications, you need the following file for all platforms:

Dynamic Qt Applications

To distribute dynamic Qt applications, you will need the following files for all platforms:

The Qt library must either be in the same directory as the application executable or in a directory which is included in the system library path.

The library is provided by the following platform specific files:

PlatformFile
Windowsqt[version].dll
Unix/Linuxlibqt[version].so
Maclibqt[version].dylib

version includes the three version numbers.

Distributing Plugins

You must include any plugin files required by the application.

Plugins must be put into a subdirectory under a directory known to Qt as a plugin directory. The subdirectory must have the name of the plugin category (e.g. styles, sqldrivers, designer, etc.).

Qt searches in the following directories for plugin categories:

Application specific plugin paths can be added using QCoreApplication::addLibraryPath(). The build-directory of Qt is hardcoded in the Qt library and can be changed as a part of the installation process.

Dynamic Dialogs

For dynamic dialogs if you use QWidgetFactory, you need the following files for all platforms:

The QUI library is provided by the following platform specific files:

PlatformFile
Windowsqui.lib
Unix/Linuxlibqui.so
Maclibqui.dylib

The QUI library must either be in the same directory as the application executable or in a directory which is included in the system library path.


Copyright © 2005 Trolltech Trademarks
Qt 4.0.0