Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
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.)
To distribute static Qt applications, you need the following file for all platforms:
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 in provided by the following platform specific files:
Platform | File |
---|---|
Windows | qt[version].dll |
Unix/Linux | libqt[version].so |
Mac | libqt[version].dylib |
version includes the three version numbers. For threaded builds the version is prefixed with -mt.
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 QApplication::addLibraryPath(). The build-directory of Qt is hardcoded in the Qt library and can be changed as a part of the installation process (see the distributor-example.html Distributor example).
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:
Platform | File |
---|---|
Windows | qui.lib |
Unix/Linux | libqui.so |
Mac | libqui.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 © 2007 Trolltech | Trademarks | Qt 3.3.8
|