Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# Deploying Qt Applications

This document lists the platform-specific files needed to distribute Qt applications. (See also, Window System-specific Notes.)

## Static Qt Applications

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

- your application's executable

## Dynamic Qt Applications

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

- application executable
- the Qt library

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 in provided by the following platform specific files:

Platform | File
--- | ---
Windows | `qt.dll`
Unix/Linux | `libqt.so`
Mac | `libqt.so##`

You must include any plugin files used 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.).

## Dynamic Dialogs

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

- The same files as used for dynamic Qt applications
- The QUI Library

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

Platform | File
--- | ---
Windows | `qui.lib`
Unix/Linux | `libqui.so`
Mac | `libqui.so###`

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.

## Qt Applications that use QSA

For Qt applications that use QSA, you need the following files for all platforms:

- Same as dynamic dialogs
- QSA library

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

Platform | File
--- | ---
Windows | `qsa.dll`
Unix/Linux | `libqsa.so`
Mac | `libqsa.so##`

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

In addition, the Qt Scripter and QSA custom widgets plugins are required. These are provided by the following platform specific files are as follows:

- Qt Scripter plugin

Platform | File
--- | ---
Windows | `quickide.dll`
Unix/Linux | `quickide.so`
Mac | `quickide.so##`

- QSA Custom Widgets plugin

Platform | File
--- | ---
Windows | `quickcustom.dll`
Unix/Linux | `quickcustom.so`
Mac | `quickcustom.so##`

The plugins must be put into a subdirectory called `qsa` under a directory known to Qt as a plugin directory. Qt plugin directories can be set using QApplication::addLibraryPath().