Qt Installer Framework practice

Source: Internet
Author: User

Qt Installer Framework is a Framework supported by the installation program released by Qt. You only need simple configuration to generate an installation file, and you can customize the installation process through the javascript script.

Directory structure

Config

Packages

Data

Meta

Configuration File

Config/config. xml

Packages/[product]/meta/package. xml

Packages/[product]/meta/[install. js]

Configuration File Parameters

Command

Binarycreator [options] target
Option
-T | -- template file Use file as installer template binary
If this parameter is not given, the template used
Defaults to installerbase.
-P | -- packages dir The directory containing the available packages.
Ults to the current working directory.
-E | -- exclude p1,..., pn Exclude the given packages.
-I | -- include p1,..., pn Include the given packages and their dependencies
From the repository.
-- Ignore-translations Don't use any translation
-- Ignore-invalid-packages Ignore all invalid packages instead of aborting.
-C | -- config file The file containing the installer configuration
-N | -- online-only Don't add any package into the installer
(For online only installers)
-F | -- offline-only Forces the installer to act as an offline installer,
I. e. never access online repositories
-R | -- resources r1,., rn include the given resource files into the binary
-V | -- verbose Verbose output

Generate the Installation File

Offline installation:
Binarycreator -- offline-only-c installer-config/config. xml-p packages-directory-t installerbase SDKInstaller
Online installation:
Binarycreator-c installer-config/config. xml-p packages-directory-e com. nokia. sdk. qt, com. nokia. qtcreator-t installerbase SDKInstaller

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.