source: trunk/doc/src/platforms/emb-deployment.qdoc@ 846

Last change on this file since 846 was 846, checked in by Dmitry A. Kuminov, 14 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

  • Property svn:eol-style set to native
File size: 4.1 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4** All rights reserved.
5** Contact: Nokia Corporation ([email protected])
6**
7** This file is part of the documentation of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:FDL$
10** Commercial Usage
11** Licensees holding valid Qt Commercial licenses may use this file in
12** accordance with the Qt Commercial License Agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in a
14** written agreement between you and Nokia.
15**
16** GNU Free Documentation License
17** Alternatively, this file may be used under the terms of the GNU Free
18** Documentation License version 1.3 as published by the Free Software
19** Foundation and appearing in the file included in the packaging of this
20** file.
21**
22** If you have questions regarding the use of this file, please contact
23** Nokia at [email protected].
24** $QT_END_LICENSE$
25**
26****************************************************************************/
27
28/*!
29 \page qt-embedded-deployment.html
30
31 \title Deploying Qt for Embedded Linux Applications
32 \ingroup qt-embedded-linux
33
34 The procedure of deploying an Qt application on \l{Qt for Embedded Linux}
35 is essentially the same as the deployment procedure on X11 platforms
36 which is described in detail in the \l {Deploying an Application
37 on X11 Platforms} documentation. See also the \l {Deploying Qt
38 applications}{general remarks} about deploying Qt applications.
39
40 In addition, there is a couple of Qt for Embedded Linux specific issues to
41 keep in mind:
42
43 \tableofcontents
44
45 \section1 Fonts
46
47 When Qt for Embedded Linux applications run, they look for a file called
48 \c fontdir in Qt's \c /lib/fonts/ directory defining the
49 fonts that are available to the application (i.e. the fonts
50 located in the mentioned directory).
51
52 For that reason, the preferred fonts must be copied to the \c
53 /lib/fonts/ directory, and the \c fontdir file must be customized
54 accordingly. See the \l {Qt for Embedded Linux Fonts}{fonts} documentation
55 for more details about the supported font formats.
56
57 Note that the application will look for the \c /lib/fonts/
58 directory relative to the path set using the \c -prefix parameter
59 when running the \c configure script; ensure that this is a
60 sensible path in the target device environment. See the
61 \l {Installing Qt for Embedded Linux#Step 3: Building the
62 Library}{installation} documentation for more details.
63
64 \section1 Environment Variables
65
66 In general, any variable value that differs from the provided
67 default values must be set explicitly in the target device
68 environment. Typically, these include the QWS_MOUSE_PROTO,
69 QWS_KEYBOARD and QWS_DISPLAY variables specifying the drivers for
70 pointer handling, character input and display management,
71 respectively.
72
73 For example, without the proper mouse and keyboard drivers, there
74 is no way to give any input to the application when it is
75 installed on the target device. By running the \c configure script
76 using the \c -qt-kbd-<keyboarddriver> and \c
77 -qt-mouse-<mousedriver> options, the drivers are enabled, but in
78 addition the drivers and the preferred devices must be specified
79 as the ones to use in the target environment, by setting the
80 environment variables.
81
82 See the \l{Qt for Embedded Linux Pointer Handling}{pointer handling},
83 \l{Qt for Embedded Linux Character Input}{character input} and
84 \l{Qt for Embedded Linux Display Management}{display management}
85 documentation for more information.
86
87 \section1 Framebuffer Support
88
89 No particular actions are required to enable the framebuffer on
90 target devices: The Linux framebuffer is enabled by default on all
91 modern Linux distributions. For information on older versions, see
92 \l http://en.tldp.org/HOWTO/Framebuffer-HOWTO.html.
93
94 To test that the Linux framebuffer is set up correctly, and that
95 the device permissions are correct, use the program provided by
96 the \l {Testing the Linux Framebuffer} document.
97*/
Note: See TracBrowser for help on using the repository browser.