summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix translating from component scriptKatja Marttila2021-01-141-1/+1
| | | | | | | | | Translate using QCoreApplication::translate instead of QObject::tr. Removed the use of obsolete installTranslatorFunctions() function. Task-number: QTIFW-392 Change-Id: Icdd67efb6889acd26d63297fb89945c3431c881c Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Perform headless commands without GUI dependencyKatja Marttila2020-03-122-11/+15
| | | | | | Task-number: QTIFW-1633 Change-Id: I207cd152a471fddd51c152223460f8a9873f4382 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Fix license check failuresSimo Fält2020-02-2818-76/+86
| | | | | Change-Id: I123b1c6a06717c37387a636aae8296e27c1df8c0 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update usage of Apple-related terminologyArttu Tarkiainen2019-08-166-10/+10
| | | | | | | | | | | Replace deprecated Q_OS_OSX macro used in several places with the newer Q_OS_MACOS. Old style reference of Apple's desktop operating system name as "OS X" in documentation and files are also replaced with "macOS" where applicable. Task-number: QTIFW-1406 Change-Id: I0561d5e0d964917ac4fca0702d58a06b85d30e57 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Add tooltip for categoriesKatja Marttila2019-02-041-0/+2
| | | | | Change-Id: I852a236bc2cff0d532a825581e3da4dcdcbbab90 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Add possibility to preselect categories in config.xmlKatja Marttila2019-01-171-0/+1
| | | | | Change-Id: I280247cb5155622ade604074c5a71a276b0fb629 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-12-108-0/+55
|\ | | | | | | Change-Id: I73cb43e090c6ff34f1ceb774490d01818465e2e0
| * Register virtual component for uninstallKatja Marttila2018-11-068-0/+55
| | | | | | | | | | | | Task-number: QTIFW-1102 Change-Id: I5033f095eece1f1e588c00f518cf7d9d046c2003 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* | Add signal to inform about unstable componentsKatja Marttila2018-09-272-0/+11
| | | | | | | | | | | | Task-number: QTIFW-1197 Change-Id: If9d7941f4c7bfc478daa83dcd73dfa71c9163561 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* | Enable usage of categorized repositoriesKatja Marttila2018-09-2622-0/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows to categorize repositories in component selection page. Using categorized repositories will by default show only uncagetorized repository items in tree. Selecting one or several categories using checkbox will update the treeview to show all selected categorized repository content. Repository's metadata is fetched only after the category is selected. Categorized repositories can be defined in config.xml: <RepositoryCategories> <RemoteRepositories> <Displayname>category 1</Displayname> <Repository> <Url>(url)</Url></Repository> </RemoteReposiories> ... <RepositoryCategories Change-Id: I6eae9daee70b1afa322144d52c11f25d0b655ebf Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* | Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-05-1513-0/+26
|\| | | | | | | Change-Id: I09cacedb966eebc3f42a3402b0b3dc4f6dcd9be8
| * Add missing content for example dependenciesJuha Karjalainen2018-04-0613-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added missing content for example --> making it possible to test it. Changes to be committed: new file: examples/dependencies/packages/componentA/data/installcontentA.txt new file: examples/dependencies/packages/componentB/data/installcontentB.txt new file: examples/dependencies/packages/componentC/data/installcontentC.txt new file: examples/dependencies/packages/componentD/data/installcontentD.txt new file: examples/dependencies/packages/componentE/data/installcontentE.txt new file: examples/dependencies/packages/componentF.subcomponent1.subsubcomponent1/data/installcontentF_1_1.txt new file: examples/dependencies/packages/componentF.subcomponent1.subsubcomponent2/data/installcontentF_1_2.txt new file: examples/dependencies/packages/componentF.subcomponent1/data/installcontentF_1.txt new file: examples/dependencies/packages/componentF.subcomponent2.subsubcomponent1/data/installcontentF_2_1.txt new file: examples/dependencies/packages/componentF.subcomponent2.subsubcomponent2/data/installcontentF_2_2.txt new file: examples/dependencies/packages/componentF.subcomponent2/data/installcontentF_2.txt new file: examples/dependencies/packages/componentF/data/installcontentF.txt new file: examples/dependencies/packages/componentG/data/installcontentG.txt Change-Id: I40fde219a5ab866f611e596dd5991b9b93c8856f Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Add attribute to mark parts of install tree unstableKatja Marttila2018-04-0519-0/+207
|/ | | | | | | | | | | | This commit adds new AllowUnstableComponents configuration. Setting AllowUnstablecomponents to true in config.xml will * allow installing other components when there are errors in scripts * allow installing other components when there are missing dependencies * will mark the 'broken' components uninstallable in treeview Task-number: QTIFW-930 Change-Id: I8d28cf9c4b0401e0bb76795e87d581f39b64f128 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* 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>