SXE - Installer/Package Manager Overview
|
Parameter | Purpose |
---|---|
MaxPackagesList | Maximum number of packages that will be downloaded from a packages.list |
MaxPackagesListSize | Maximum size in bytes that will be downloaded for a packages.list. |
MaxDescriptorSize | Maximum size in bytes that will be downloaded for a qpd descriptor file. |
DefaultDomain | Default domain that will be applied to packages that do not specify a recognized domain. |
SensitiveDomain | Packages requesting access to sensitive/restricted domains will not be allowed to install. If there are no sensitive domains set this value to: none. |
RestrictedOrganization | Defines organizations for settings files which downloaded applications should not use. |
The limitations on the packages.list and descriptor are intended to limit the cost to the user if he/she connects to a server whose packages.list is excessively large.
Settings files for applications typically specify an organization ( see QSettings). Organizations which are already in use should be specified in the RestrictedOrganizations field. Packages that contain settings files which correspond to this organization won't be able to be installed. This is to more so prevent 3rd party developers accidentally using an in-use organization rather than for security reasons.
For developmental purposes downloaded applications can be trusted or untrusted. To prevent installation of trusted applications, the Sensitive domain needs to be set.
The file Storage.conf can be used to specify which directory that all packages are installed to.
Package Manager will not present for download or install any packages that are incompatible with the build of Qt Extended on the device. There are two measures of compatibility, version compatibility and device compatibility.
The macro QTOPIA_COMPATIBLE_VERSIONS in version.h specifies what versions of Qtopia/Qt Extended are considered binary compatible. This is used during package creation so that a package can declare what versions of Qtopia/Qt Extended it is known to be compatible with. It is also used during package download so that Package Manager will accept packages it finds that it is compatible with. The macro can be defined as range of versions eg "4.2.0-4.2.3,4.2.5". As long as there is overlap between the versions specified by the package and the those specified by Qt Extended, the package will be allowed to install.
In a similar manner QTOPIA_COMPATIBLE_DEVICES in custom.h specifies a set of devices. Packages built for other devices which should run on this device should be listed in this macro. As long as there is overlap between the set of compatible devices declared by a package and that of Qt Extended on the device, the package will be allowed to install.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com