source: trunk/doc/src/distributingqt.qdoc@ 109

Last change on this file since 109 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 5.0 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4** Contact: Qt Software Information ([email protected])
5**
6** This file is part of the documentation of the Qt Toolkit.
7**
8** $QT_BEGIN_LICENSE:LGPL$
9** Commercial Usage
10** Licensees holding valid Qt Commercial licenses may use this file in
11** accordance with the Qt Commercial License Agreement provided with the
12** Software or, alternatively, in accordance with the terms contained in
13** a written agreement between you and Nokia.
14**
15** GNU Lesser General Public License Usage
16** Alternatively, this file may be used under the terms of the GNU Lesser
17** General Public License version 2.1 as published by the Free Software
18** Foundation and appearing in the file LICENSE.LGPL included in the
19** packaging of this file. Please review the following information to
20** ensure the GNU Lesser General Public License version 2.1 requirements
21** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
22**
23** In addition, as a special exception, Nokia gives you certain
24** additional rights. These rights are described in the Nokia Qt LGPL
25** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
26** package.
27**
28** GNU General Public License Usage
29** Alternatively, this file may be used under the terms of the GNU
30** General Public License version 3.0 as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL included in the
32** packaging of this file. Please review the following information to
33** ensure the GNU General Public License version 3.0 requirements will be
34** met: http://www.gnu.org/copyleft/gpl.html.
35**
36** If you are unsure which license is appropriate for your use, please
37** contact the sales department at [email protected].
38** $QT_END_LICENSE$
39**
40****************************************************************************/
41
42/****************************************************************************
43**
44** Documentation on deploying Qt.
45**
46** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
47** Contact: Qt Software Information ([email protected])
48**
49** This file is part of the Qt GUI Toolkit.
50** EDITIONS: FREE, PROFESSIONAL, ENTERPRISE
51**
52****************************************************************************/
53
54/*
55\page distributingqt.html
56
57\title Deploying Qt Applications
58
59This document lists the platform-specific files needed to distribute
60Qt applications. We do not include any compiler-specific files that
61may also be required. (See also, \link winsystem.html Window
62System-specific Notes\endlink.)
63
64\tableofcontents
65
66Also see the "deployment" articles in
67\e{\link http://doc.trolltech.com/qq/ Qt Quarterly\endlink}:
68\list
69\i \link http://doc.trolltech.com/qq/qq09-mac-deployment.html
70Deploying Applications on Mac OS X\endlink
71\i \link http://doc.trolltech.com/qq/qq10-windows-deployment.html
72Deploying Applications on Windows\endlink
73\i \link http://doc.trolltech.com/qq/qq11-unix-deployment.html
74Deploying Applications on X11\endlink
75\endlist
76
77\section1 Static Qt Applications
78
79To distribute static Qt applications, you need the following file for
80all platforms:
81
82\list
83\i your application's executable
84\endlist
85
86\section1 Dynamic Qt Applications
87
88To distribute dynamic Qt applications, you will need the following
89files for all platforms:
90
91\list
92\i application executable
93\i the Qt library
94\endlist
95
96The Qt library must either be in the same directory as the application
97executable or in a directory which is included in the system library
98path.
99
100The library is provided by the following platform specific files:
101
102\table
103\header \i Platform \i File
104\row \i Windows \i \c qt[version].dll
105\row \i Unix/Linux \i \c libqt[version].so
106\row \i Mac \i \c libqt[version].dylib
107\endtable
108
109\e version includes the three version numbers.
110
111\section2 Distributing Plugins
112
113You must include any plugin files required by the application.
114
115Plugins must be put into a subdirectory under a directory known to
116Qt as a plugin directory. The subdirectory must have the name of the
117plugin category (e.g. \c styles, \c sqldrivers, \c designer, etc.).
118
119Qt searches in the following directories for plugin categories:
120
121\list
122\i Application specific plugin paths
123\i Build-directory of Qt
124\i The application directory
125\endlist
126
127Application specific plugin paths can be added using
128QCoreApplication::addLibraryPath(). The build-directory of Qt is hardcoded
129in the Qt library and can be changed as a part of the installation
130process.
131
132\section1 Dynamic Dialogs
133
134For dynamic dialogs if you use QWidgetFactory, you need the following
135files for all platforms:
136
137\list
138\i The same files as used for dynamic Qt applications
139\i The QUI Library
140\endlist
141
142The QUI library is provided by the following platform specific files:
143\table
144\header \i Platform \i File
145\row \i Windows \i\c qui.lib
146\row \i Unix/Linux \i\c libqui.so
147\row \i Mac \i \c libqui.dylib
148\endtable
149
150The QUI library must either be in the same directory as the
151application executable or in a directory which is included in the
152system library path.
153
154*/
Note: See TracBrowser for help on using the repository browser.