summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Change 'Checkable' element behaviorKatja Marttila2017-05-222-3/+2
| | | | | | | | Althogh 'Checkable' value is set to package, that can contain packages to install. Enabling the install of components using 'Checkable' value. Change-Id: I05d65fe2da65644872d46bdef3accd5e3f16ad31 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Merge remote-tracking branch 'origin/2.0'Katja Marttila2017-01-3027-294/+219
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Changelog dist/config/config.xml dist/packages/org.qtproject.ifw.binaries/meta/package.xml dist/packages/org.qtproject.ifw/meta/package.xml installerfw.pri src/libs/installer/lib7z_create.h src/libs/kdtools/kdgenericfactory.cpp src/libs/kdtools/kdgenericfactory.h src/libs/kdtools/kdupdaterapplication.cpp src/libs/kdtools/kdupdaterapplication.h src/libs/kdtools/kdupdaterupdatesourcesinfo.cpp src/libs/kdtools/kdupdaterupdatesourcesinfo.h src/libs/kdtools/localpackagehub.cpp src/libs/kdtools/localpackagehub.h src/libs/kdtools/updatefinder.cpp src/libs/kdtools/updatefinder.h tools/binarycreator/resources/mkdmg.sh Change-Id: Iab2513f549832d2e750e77131c673457ab265af4
| * License header update to GPL-EXCEPTKatja Marttila2017-01-2627-294/+219
| | | | | | | | | | Change-Id: I6426c4e8f932cf26c6c638dec18d0c12e22972d1 Reviewed-by: Janne Anttila <janne.anttila@theqtcompany.com>
* | Merge remote-tracking branch 'origin/2.0'Iikka Eklund2016-01-2027-97/+82
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: installerfw.pri src/libs/kdtools/kdgenericfactory.cpp src/libs/kdtools/kdgenericfactory.h src/libs/kdtools/kdupdaterapplication.cpp src/libs/kdtools/kdupdaterapplication.h src/libs/kdtools/kdupdaterupdatesourcesinfo.cpp src/libs/kdtools/kdupdaterupdatesourcesinfo.h sync.profile Change-Id: Ifdc8b065f89b7e241bd3788ed79768e21888161f
| * Update license headersIikka Eklund2015-12-2927-97/+82
| | | | | | | | | | | | | | | | | | Update existing license headers. LGPL -> LGPLv21. Update copyright year as well. Change-Id: Ie1d71f8c68186b8f625f409ddf94691f178093c9 Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com> Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* | Doc: Hide Checkbox example added to overview listNico Vertriest2016-01-202-1/+1
| | | | | | | | | | | | | | | | Corrected issue with non-appearing example Task-number: QTBUG-50538 Change-Id: I5912e414c5de041be1bc60ceda79b8dfa5386f2f Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
* | Allow defining non-checkable itemsKatja Marttila2016-01-1811-0/+116
| | | | | | | | | | | | | | | | | | | | | | This change will introduce new element 'Checkable' for package. Setting checkable to false will hide checkbox. Useful if use case is to install one sub item instead of all sub items. Change-Id: I8c731e77353b6da539dddcecdc8495b28ef5f7ea Task-number: QTIFW-773 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* | Added support for setting descriptions of Windows shortcutsFrerich Raabe2016-01-181-1/+1
| | | | | | | | | | | | | | | | | | This patch extends the CreateShortcut operation on Windows such that it recognizes a new optional 'description' argument - if specified, it's used to set the description (AKA "comment") of the Windows shortcut. Change-Id: Ib0ab48bd30e83d9cc89b1bad7d2b88e9109bdcea Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
* | Fix translations README file to correspond how language can be changedKatja Marttila2015-11-161-7/+2
| | | | | | | | | | | | | | | | | | | | Change in QTIFW-390 caused that LANG cannot be used anymore in Windows and Linux to change the language. Instead LANGUAGE should be used in Linux and system settings changed in Windows Change-Id: I2fa6881652e31836d85e2b7442a39a418654ee80 Task-number: QTIFW-791 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | Allow to use the stylesheet to customize UIDenis Shienkov2015-09-289-1/+156
| | | | | | | | | | | | | | | | | | | | Now it is possible to set a stylesheet file to customize the wizard's UI. The stylesheet adds to the config.xml file using the new "StyleSheet" element. Change-Id: I66271f755a0f742e96cf433fe557423a2261e432 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* | Store AutoDependOn inside components.xmlJarek Kobus2015-06-052-3/+42
| | | | | | | | | | Change-Id: Id304ca857ee1897c35171d6c293774f1d638bc02 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* | Merge remote-tracking branch 'origin/2.0'Kai Koehne2015-06-042-3/+8
|\ \ | |/ | | | | | | | | | | Conflicts: src/libs/installer/packagemanagercore.cpp Change-Id: Ie3d94fe3a633e189c260bf20682c00a2bb901bc8
| * Fix missing details output in example.Karsten Heimrich2015-05-271-3/+4
| | | | | | | | | | | | | | | | | | | | Commit 17e29fc8d3 introduced a behavior change, the installer.components is no longer a array property, it is now a function returning an array. Update docs. Change-Id: I4fcdee6cff4572012236e1ac0768013a1e5689ac Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
| * Explain logic in dynamic page exampleKai Koehne2015-05-271-0/+4
| | | | | | | | | | | | Change-Id: I2e41a4f19cfb0b6dc9cad03896db6d079cf7aeee Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* | Enable feature live preview of dependenciesjkobus2015-05-071-0/+1
|/ | | | | | | | | This feature is available after setting InstallActionColumnVisible property to true inside config.xml Change-Id: I5071d5c5c4562100a96530c581de01760ca0d2d5 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Remove references to QtScript print, use console.log instead.kh2015-03-164-8/+8
| | | | | | Change-Id: If83b08f6a27ac9c07980dd83a56b1500f22b13ef Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: fix link to quitinstaller exampleLeena Miettinen2015-03-051-1/+1
| | | | | | | Example folder name was changed. Change-Id: I0970c23c88f385205441c022b356c03fb72a122d Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Drop underscore in quit_installer exampleJarek Kobus2015-03-028-6/+6
| | | | | | Change-Id: I06291cf5ec09e5281f4a9554bb4145a2974042a1 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Try to be a little more specific in online READMEJarek Kobus2015-02-261-1/+1
| | | | | | Change-Id: I2110d675b96ab4ad84a702eebdedd61dc49cd077 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Fix the default installation location for all examplesLeena Miettinen2015-02-2613-13/+13
| | | | | | | | Now they are all located in distinct subfolders of one common IfwExamples folder located in home. Change-Id: Ife92e8d7f7fc33bc1f941f49c75333d0e4fc72d1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Update CopyrightKai Koehne2015-02-1827-163/+163
| | | | | Change-Id: I8dde6629cfd461104364d5cdc255cb54b58283fa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Add a translation exampleNiels Weber2015-02-0914-0/+303
| | | | | | | | | | Add an example showing how the translation of components works. Also document this. Make translated license files work again. Task-number: QTIFW-469 Change-Id: I3c13ecc9941b09370d0713b19b2683b42454c43c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Fix a doc typojkobus2015-01-271-1/+1
| | | | | | Change-Id: I6208606b237a8f408cf071efb428c3e82e987ad8 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Add example for online installerKai Koehne2015-01-2615-0/+255
| | | | | | Change-Id: I7c4f32db01b94b24339641907ae7cdbe209ff707 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Add a dependencies exampleLeena Miettinen2015-01-2320-0/+258
| | | | | | | Change-Id: I77c404294a5210f892c88480fa5b56075d44cc30 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: fix broken linkLeena Miettinen2015-01-211-1/+1
| | | | | Change-Id: Idb729705cd0c37173b483f265f63ff3ed496b047 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: more missed "section" to "element" changesLeena Miettinen2015-01-215-12/+12
| | | | | Change-Id: I2382e13b9e143f870b27507b214f2dfc045e2a50 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: replace "section" with "element" in example docsLeena Miettinen2015-01-213-7/+7
| | | | | | | | Missed the example docs in the previous commit. Change-Id: Ia48ae1bad208498429c39be8ff8c472b8b4786aa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Mark "os" variable as deprecatedKai Koehne2015-01-202-5/+5
| | | | | | | | | | | Mark installer.variable("os") as deprecated, and replace it with systemInfo.productType in the examples. Change-Id: Ic86af21369cd066fc003b268f001101b642f6d2d Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: make example briefs more consistentLeena Miettinen2015-01-159-10/+13
| | | | | | | | Make clear that all current examples illustrate how to use component scripts. Change-Id: Id1015912723ed2f8f982d8316c8923e47e4897bc Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: update docs for the Start Menu exampleLeena Miettinen2015-01-093-2/+35
| | | | | | | Change-Id: I861fb5fa80d7467a315c77b903d8de3b58724c54 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: update docs for the Quit Installer exampleLeena Miettinen2015-01-094-5/+43
| | | | | Change-Id: I0b456962e9a07e16a3e44882d936f604fcd4f71f Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: update documentation for dynamicpage exampleLeena Miettinen2015-01-095-4/+77
| | | | | | | | | Fix issues in the example files. Use the same values in all config.xml files to be able to use a standard text to describe them. Change-Id: I3a6dae58270906f590cde0c6e234d9bbb75d34f7 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: update docs for Modify Extract Installer exampleLeena Miettinen2015-01-084-6/+35
| | | | | | | | | | Fix issues in the example files and unify some values to make it possible to use standard text for the configuring section. Change-Id: I4e4236d519d075fc1f0461e3b863989ca0373cd3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: update the Register File Extension exampleTim Jenssen2015-01-087-42/+103
| | | | | | | | | And the docs. Change-Id: I35f5edc1ad95df29d033e4220af003bac480d6e3 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: add docs for the Open Readme exampleLeena Miettinen2015-01-083-4/+50
| | | | | | Change-Id: I0abee03607ee82a7753e5b857392da31dfe54551 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: update the Tutorial sectionLeena Miettinen2014-12-101-1/+1
| | | | | | | | | | | | Updated according to user feedback to make descriptions clearer. Added documentation for all sections in config.xml, explained HomeDir, and added a link to variable list. Deleted an obsolete note. Updated screenshots. Change-Id: I255569f8a09c7c3b996b6e201c5469874027cf60 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Expose systemInfo APIKai Koehne2014-12-059-1/+299
| | | | | | | | | Add systemInfo as a wrapper for QSystemInfo. Task-number: QTIFW-592 Change-Id: Ib54fcea8b0ef3a397a74f5315202f3000abd63cd Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Remove unneeded <Name> property from examples.jkobus2014-12-022-2/+0
| | | | | Change-Id: I67b97bd033634e6189bda1aa68f5c2bc02ddee76 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Select by default components in examplesjkobus2014-12-018-3/+12
| | | | | | Change-Id: I884b6ff2055ecf9505b0fd4dd75fe9a56b69e6ff Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Unify the output name to match the README file description.kh12014-10-3011-12/+12
| | | | | | | Fix the dynamic page example to compile the additional resource. Change-Id: I62a641f05c4ac76649951695ea5c2d03a390ee8d Reviewed-by: Niels Weber <niels.weber@digia.com>
* Fix automatic generation of examples for debug_and_release buildsKai Koehne2014-10-249-63/+81
| | | | | | | | | | | Q_MAKE_EXTRA_TARGETS does generate targets both in Makefile, Makefile.debug, and Makefile.release. Use QMAKE_EXTRA_COMPILERS instead, which in addition will also work in generated Visual Studio projects. Change-Id: I29ec3760508e84c30b3afce39fc36d4e9b6c2e07 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add LGPLv3 as new licenseKai Koehne2014-10-1613-182/+91
| | | | | | | Change-Id: I61158f956894e209dccf83744b4753774676099d Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
* Add build rules for examplesKai Koehne2014-09-0410-9/+111
| | | | | Change-Id: Iada401128e754233361c84d0e102bb85f1b6538f Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Doc: add docs for Component Error exampleLeena Miettinen2014-07-219-12/+70
| | | | | | | | | | Document the example. Edit text in the example files. Add a screenshot. Change-Id: Ib5c3e0d78006d81ec77c75c92b7636f358e83412 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Prefer uppercase for RootDir and HomeDirNiels Weber2014-07-181-1/+1
| | | | | Change-Id: If084e32d00b1f1995a00795675b8bc0e2011d72d Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Doc: add docs for Change UI ExampleLeena Miettinen2014-07-154-12/+33
| | | | | | | | | | | | | | | | Describe the example files. Add example file extensions to the qdocconf file to have all files listed on the doc page. Fix capitalization in the configuration file. Use more descriptive values for the component in the package information file. Rearrange sections to be able to use an include file for documenting all package information files. Add more detailed information about creating the installer. Add image. Change-Id: I64ffff29d08f1dff4cd92c3b796f1a0e6c2fb280 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Doc: add example documentationLeena Miettinen2014-07-0917-0/+347
| | | | | | | | Add initial topic skeletons. The contents will be modified in subsequent patches. Change-Id: I33ca4180c7070d5ae2ca20a59f75608289d76344 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Add licenseagreement exampleKai Koehne2014-07-076-0/+821
| | | | | | | | Add dedicated example showing how to ask for a license agreement. Change-Id: I42144fcd38fcde3e8018c1d4559847fc83854499 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Use int instead of QFlag/Enum values (advised by Simon).kh12014-06-061-3/+3
| | | | | | Change-Id: I217205d1256b15432bc3647292bbcbd19077c3e4 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>