summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/changeuserinterface/changeuserinterface.pro1
-rw-r--r--examples/componenterror/componenterror.pro1
-rw-r--r--examples/doc/changeuserinterface.qdoc57
-rw-r--r--examples/doc/componenterror.qdoc40
-rw-r--r--examples/doc/dynamicpage.qdoc40
-rw-r--r--examples/doc/modifyextract.qdoc40
-rw-r--r--examples/doc/openreadme.qdoc41
-rw-r--r--examples/doc/quit_installer.qdoc40
-rw-r--r--examples/doc/registerfileextension.qdoc40
-rw-r--r--examples/doc/startmenu.qdoc40
-rw-r--r--examples/dynamicpage/dynamicpage.pro1
-rw-r--r--examples/licenseagreement/licenseagreement.pro1
-rw-r--r--examples/modifyextract/modifyextract.pro1
-rw-r--r--examples/openreadme/openreadme.pro1
-rw-r--r--examples/quit_installer/quit_installer.pro1
-rw-r--r--examples/registerfileextension/registerfileextension.pro1
-rw-r--r--examples/startmenu/startmenu.pro1
17 files changed, 347 insertions, 0 deletions
diff --git a/examples/changeuserinterface/changeuserinterface.pro b/examples/changeuserinterface/changeuserinterface.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/changeuserinterface/changeuserinterface.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/componenterror/componenterror.pro b/examples/componenterror/componenterror.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/componenterror/componenterror.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/doc/changeuserinterface.qdoc b/examples/doc/changeuserinterface.qdoc
new file mode 100644
index 000000000..872177b18
--- /dev/null
+++ b/examples/doc/changeuserinterface.qdoc
@@ -0,0 +1,57 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example changeuserinterface
+ \ingroup qtifwexamples
+ \title Change Installer UI Example
+
+ \brief Changing the installer UI by using a component script.
+
+ \e {Change Installer UI} demonstrates how to add a license page to the
+ installer by using a component script.
+
+ \note Do not use component scripts for translations.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile changeuserinterface/config/config.xml
+
+ \include installerfw-examples-packaging.qdocinc
+
+ \list
+ \li The \c <Version> section specifies the version number of the
+ component.
+ \li The \c <Licenses> section specifies the \c name of the license
+ agreement to be accepted by the end user and the filename of the
+ \c file that contains the license.
+ \endlist
+
+ \quotefile changeuserinterface/packages/org.qtproject.ifw.example.changeuserinterface/meta/package.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/doc/componenterror.qdoc b/examples/doc/componenterror.qdoc
new file mode 100644
index 000000000..b0530701e
--- /dev/null
+++ b/examples/doc/componenterror.qdoc
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example componenterror
+ \ingroup qtifwexamples
+ \title Component Error Installer Example
+
+ \brief Reacting to errors in components.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile componenterror/config/config.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/doc/dynamicpage.qdoc b/examples/doc/dynamicpage.qdoc
new file mode 100644
index 000000000..4aba1e743
--- /dev/null
+++ b/examples/doc/dynamicpage.qdoc
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example dynamicpage
+ \ingroup qtifwexamples
+ \title Dynamic Page Installer Example
+
+ \brief Building an installer by using a script and dynamic pages.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile dynamicpage/config/config.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/doc/modifyextract.qdoc b/examples/doc/modifyextract.qdoc
new file mode 100644
index 000000000..fd5b5ebe5
--- /dev/null
+++ b/examples/doc/modifyextract.qdoc
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example modifyextract
+ \ingroup qtifwexamples
+ \title Modify Extract Installer Example
+
+ \brief Using the extract archive hook to modify the target path.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile modifyextract/config/config.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/doc/openreadme.qdoc b/examples/doc/openreadme.qdoc
new file mode 100644
index 000000000..165caf4e2
--- /dev/null
+++ b/examples/doc/openreadme.qdoc
@@ -0,0 +1,41 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example openreadme
+ \ingroup qtifwexamples
+ \title Open ReadMe Example
+
+ \brief Adding a check box for opening the readme file to the final
+ installer page.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile openreadme/config/config.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/doc/quit_installer.qdoc b/examples/doc/quit_installer.qdoc
new file mode 100644
index 000000000..bb1655ad2
--- /dev/null
+++ b/examples/doc/quit_installer.qdoc
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example quit_installer
+ \ingroup qtifwexamples
+ \title Quit Installer Example
+
+ \brief Quitting an installer by using a script.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile quit_installer/config/config.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/doc/registerfileextension.qdoc b/examples/doc/registerfileextension.qdoc
new file mode 100644
index 000000000..6b9c41e68
--- /dev/null
+++ b/examples/doc/registerfileextension.qdoc
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example registerfileextension
+ \ingroup qtifwexamples
+ \title Register File Extension Example
+
+ \brief Registering a filename extension on Windows.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile registerfileextension/config/config.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/doc/startmenu.qdoc b/examples/doc/startmenu.qdoc
new file mode 100644
index 000000000..1c9c98e49
--- /dev/null
+++ b/examples/doc/startmenu.qdoc
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Installer Framework.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example startmenu
+ \ingroup qtifwexamples
+ \title Start Menu Shortcut Example
+
+ \brief Adding an entry to the Windows Start menu.
+
+ \include installerfw-examples-configuring.qdocinc
+
+ \quotefile startmenu/config/config.xml
+
+ \include installerfw-examples-generating.qdocinc
+*/
diff --git a/examples/dynamicpage/dynamicpage.pro b/examples/dynamicpage/dynamicpage.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/dynamicpage/dynamicpage.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/licenseagreement/licenseagreement.pro b/examples/licenseagreement/licenseagreement.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/licenseagreement/licenseagreement.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/modifyextract/modifyextract.pro b/examples/modifyextract/modifyextract.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/modifyextract/modifyextract.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/openreadme/openreadme.pro b/examples/openreadme/openreadme.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/openreadme/openreadme.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/quit_installer/quit_installer.pro b/examples/quit_installer/quit_installer.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/quit_installer/quit_installer.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/registerfileextension/registerfileextension.pro b/examples/registerfileextension/registerfileextension.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/registerfileextension/registerfileextension.pro
@@ -0,0 +1 @@
+OTHER_FILES =
diff --git a/examples/startmenu/startmenu.pro b/examples/startmenu/startmenu.pro
new file mode 100644
index 000000000..d723fcfcb
--- /dev/null
+++ b/examples/startmenu/startmenu.pro
@@ -0,0 +1 @@
+OTHER_FILES =