summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Update supported Qt versionArttu Tarkiainen2020-04-201-1/+1
| | | | | | | | | Related change 9501f454d3dae429edd20f746a3e4b3aac76f6c9. Change-Id: Ie07e8fb790045712b99ac19abab68949e35a17ae Reviewed-by: Katja Marttila <katja.marttila@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Add unit tests for CreateDesktopEntryOperationArttu Tarkiainen2020-03-261-1/+2
| | | | | | | | | Also add note of the intended target platform to documentation. Task-number: QTIFW-1696 Change-Id: I60f6cfcaf03a32c2dd466c529b81dde477f8e3bd Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Refactor and add unit tests for metadatajobKatja Marttila2020-03-241-2/+10
| | | | | | | | Split long functions into smaller understandable functions, added unit tests for metadatajob. Change-Id: Ib423eab3c9ae7771fb032b99f767f96e52266ea7 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Merge remote-tracking branch 'origin/3.2' to masterKatja Marttila2020-03-162-6/+6
|\ | | | | | | Change-Id: Ia4cf718409ce431cce8d766865ecec506426afb9
| * Fix devtool documentationKatja Marttila2020-03-052-6/+6
| | | | | | | | | | Change-Id: I2c1cf408709a0dc3b4a34b21d9f086254b253260 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* | Add command line option to start the installer binary as uninstallerArttu Tarkiainen2020-03-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add option "--uninstaller" to start the installer binary explicitly as uninstaller. This complements options "--updater" and "--manage-packages". Add convenience functions for setting and checking if the magic binary marker has been set by the user. Task-number: QTIFW-1639 Change-Id: Ie40ba9c56e09be079e309bca985b19a8a7bef7ef Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Fix license check failuresSimo Fält2020-02-2823-69/+69
| | | | | | | | | | Change-Id: I123b1c6a06717c37387a636aae8296e27c1df8c0 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Merge remote-tracking branch 'origin/3.2' into masterKatja Marttila2020-01-164-6/+30
|\| | | | | | | Change-Id: Ie42b694119ecaa59c9df4aa0253663107ef0c68c
| * Minor documentation fixesKatja Marttila2020-01-071-4/+4
| | | | | | | | | | Change-Id: I4a8c1ca489ed7d7779c5235101fb57be8bd88274 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * Update build instructions to documentationKatja Marttila2020-01-071-5/+6
| | | | | | | | | | Change-Id: I111829be3183a1e195af4f79c914e6309f9ada9f Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
| * Documentation fixesKatja Marttila2019-12-173-1/+24
| | | | | | | | | | Change-Id: Ibffb5470d374c8d612791f48c951deddd00f3121 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Merge remote-tracking branch 'origin/3.1' into masterKatja Marttila2019-11-201-2/+4
|\| | | | | | | Change-Id: Icc077e3757b84b2367b2a7dd9c1e389f6845365b
| * Fix env variable remove on WindowsJohanna Äijälä2019-10-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing env variable failed on uninstallation on Windows if the env variable value had @TargetDir@ in path. File separators got changed from Windows style to unix style. Update documentation to inform users to use '\\' as separators when setting a path as environment variable. Tested with following values (component.addElevatedOperation(...) in components.qs): "@TargetDir@\\lib\\system\\qtplugins" "not_a_path_but_variable_with_slash_\\qtplugins" "not_a_path_but_variable_with_slash_/qtplugins" "%SystemRoot%\\lib\\system\\qtplugins" "12345" Task-number: QTIFW-1148 Change-Id: Iaa48d890e70afdbe56bbf389dd4994d5ae91b316 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
| * Fix CreateLink operation destination string formatting on WindowsArttu Tarkiainen2019-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | - Fix string formatting syntax in createJunction() method. - Calculate destination directory string length in bytes rather than characters count. - Make minor alterations to operation usage documentation. Task-number: QTIFW-1443 Change-Id: Ia7f6525c865a3e8a6da5376059111c1ef87353ac Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Merge remote-tracking branch 'origin/3.1' into masterKatja Marttila2019-08-2312-48/+111
|\| | | | | | | Change-Id: I8b203e12283374aed707e0e89c2f73d44ff296cb
| * Update usage of Apple-related terminologyArttu Tarkiainen2019-08-1610-23/+23
| | | | | | | | | | | | | | | | | | | | | | 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>
| * Doc: Define CreateShortcut operation as a Windows-specific featureArttu Tarkiainen2019-08-151-2/+2
| | | | | | | | | | | | | | Task-number: QTIFW-1399 Change-Id: I81d5bf2c2abde9f0e49f5ea8cb99845e14159800 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
| * Doc: Fix wrong values in Settings Operation summaryArttu Tarkiainen2019-08-151-4/+4
| | | | | | | | | | | | Task-number: QTIFW-1386 Change-Id: Ic8faf41fd972505353f6c2e461ddfb47a8db6d94 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * Doc: Update getting-started pageKatja Marttila2019-08-131-5/+22
| | | | | | | | | | | | | | Task-number: QTIFW-1185 Change-Id: I602425589b3b2e0482d025a02b06f4b4c27ac330 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| * Doc: Don't indicate that you can add pages in a control scriptAndy Shaw2019-06-172-14/+7
| | | | | | | | | | | | | | | | Change-Id: I6ddfc27334d8f14852cd926653b5ab56851c3fec Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
| * Update documentation for Component Selection PageArttu Tarkiainen2019-06-031-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | Repository categories introduced in IFW 3.1 can cause behavior changes in older automation scripts that use component selection methods. Update documentation to include new items on Component Selection Page and provide an example code for fetching components from a category. Task-number: QTIFW-1354 Change-Id: Icf93d1325563d3bdf6a38799ab260b13f4078a81 Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Add regular expression support to replace operationArttu Tarkiainen2019-08-161-2/+10
| | | | | | | | | | | | | | | | | | | | Introduce search with regular expressions support to replace operation. Add unit tests and make associated documentation changes. Task-number: QTIFW-889 Change-Id: I82e30056030ebc900be49046fda1903b27a2824d Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Change ApplicationsDir variable on macOS to return "/Applications"Arttu Tarkiainen2019-08-161-0/+6
|/ | | | | | | | | | | | | | | QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation) first element returns $HOME/Applications, as being user writable it has a higher priority. Change the variable to return system wide /Applications as it is a more expected default. Add the user-specific applications directory as its own variable, and make associated documentation changes. Task-number: QTIFW-1011 Change-Id: Ia81a1f5dafdea8665d5f9fc1df3799e59858e5aa Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Enable links and text selection in component description fieldsArttu Tarkiainen2019-05-071-1/+4
| | | | | | | | | | | External links can now be included in component description by specifying a proper URL address like this: {external-link}='https://www.qt.io/'. The link fields can be placed anywhere inside package <Description> tags. Task-number: QTIFW-1292 Change-Id: I1d916a58224bdfb6e885445873bf541fad3cf834 Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* fix missing backslashed with double backslash commandFrederik Schwarzer2019-04-021-2/+2
| | | | | | Change-Id: I0404f3d08d2a4bdc3f5d3ccafe8a016486d4ecdb Fixes: QTIFW-1037 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Write desktop entry and items to the correct foldersRainer Keller2019-02-041-5/+4
| | | | | | | | | | | | Data should not be written to directories in XDG_DATA_DIRS. The spec state that files should only be writen to the directory in XDG_DATA_HOME. Change-Id: I755963fa2f70d03c77d7beec0e3f87accde925d0 Fixes: QTIFW-1269 Reviewed-by: Nikos Chantziaras <realnc@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Add tooltip for categoriesKatja Marttila2019-02-041-1/+2
| | | | | Change-Id: I852a236bc2cff0d532a825581e3da4dcdcbbab90 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Allow unstable components when categories are usedKatja Marttila2019-01-171-1/+5
| | | | | | | | | | | | | | | Unstable component means that the component has unresolved dependency, script error etc. Installer cannot recover if we are already in component selection view and fetch new packages from a category which has unstable components if AllowUnstableComponent is false. Fixed so that allowing unstable components is forced when categories are used. Ideal solution would be to recover and rollback the install tree if unstable components are found but that requires huge changes to IFW. Task-id: QTIFW-1257 Change-Id: I786df1b8b54c238f50e15b94a06005e244417c97 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Add possibility to preselect categories in config.xmlKatja Marttila2019-01-171-2/+4
| | | | | Change-Id: I280247cb5155622ade604074c5a71a276b0fb629 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Add documentation for AllowUnstableComponentsKatja Marttila2019-01-151-0/+8
| | | | | Change-Id: I21943c007626c65c83a6766d6e470019187239a6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-12-101-1/+1
|\ | | | | | | Change-Id: I73cb43e090c6ff34f1ceb774490d01818465e2e0
| * Doc: Fix copyright year in the online templateLeena Miettinen2018-11-211-1/+1
| | | | | | | | | | Change-Id: I90677a09b14fdecd1871fced45e348f16d1b655c Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Enable usage of categorized repositoriesKatja Marttila2018-09-263-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Add property to disable default repository savingKatja Marttila2018-09-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | By default, all default repositories defined in <RemoteRepositories> are saved to maintenancetool.ini -file. When you start maintenancetool, the repositories are read from maintenancetool.ini and those are used. There are cases when we don't want to use the default repositories when running maintenancetol. Change-Id: I4507e16636f2d709aa099eaa865264800591ce0d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-05-151-1/+1
|\| | | | | | | Change-Id: I09cacedb966eebc3f42a3402b0b3dc4f6dcd9be8
| * Add missing link from the documentation for hybrid installersAndy Shaw2018-04-201-1/+1
| | | | | | | | | | Change-Id: I05a3f5711cb963933470704bfec2ba8839384c0c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Add findFiles methodKatja Marttila2018-03-261-0/+8
| | | | | | | | | | | | | | Task-number: QTIFW-1094 Change-Id: Ibc37e9b568f7f54e37f6ed6a5b040940cab5aebd Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* | Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-03-202-3/+5
|\| | | | | | | Change-Id: I601b783a9d2eed009737b2779803457949cbb014
| * Avoid including macro.qdocconf from Qt documentationKai Koehne2018-03-011-1/+5
| | | | | | | | | | | | | | | | | | | | From Qt 5.11 onwards, macro.qdocconf requires QT_VERSION environment variable to be defined. Just copy the two custom commands we use in IFW. Task-number: QTIFW-1103 Change-Id: Ib2d81e0f9e7b5518206efaf2a219ceb8109f6490 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Docs: Remove dependency to Qt's macros.qdocconfTopi Reinio2018-02-282-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macros.qdocconf from Qt's global documentation config includes a macro that uses the value of QT_VERSION, which is not defined for IFW. The documentation build therefore fails with 'error: Environment variable 'QT_VERSION' undefined'. To work around this, load the macros we use from a local qdocconf file. Change-Id: I1dc02dffc758af8e855e42a0fceabb84434876d2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-02-084-6/+10
|\| | | | | | | Change-Id: I8d0c8b9faa9537b50e989ec264ed7bfe8d2e358b
| * Set correct proxy typeKatja Marttila2018-01-251-4/+3
| | | | | | | | | | | | | | | | | | From Qt 5.8 onwards system proxy might be used by default. Checked if that is the case and updated settings accordingly. Task-number: QTBUG-65143 Change-Id: Ibe8f3173636c57f73addcc576afdd37a68ec1d03 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Fix custom pages documentationKatja Marttila2017-12-141-1/+1
| | | | | | | | | | | | Task-number: QTIFW-1061 Change-Id: Ib7e8317eb718ecb3e22b89bbef0414f48502992e Reviewed-by: Antti Kokko <antti.kokko@qt.io>
| * Fix readFile documentationKatja Marttila2017-12-041-1/+1
| | | | | | | | | | | | | | | | | | readFile method returns string and not boolean. Fix it to documentation. Change-Id: I8454b423a01e93c747087de662e6795a72db26bd Reviewed-by: Karim Pinter <karim.pinter@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
| * Add clarifying documentation about QDesktopServices::openUrlAndy Shaw2017-11-131-0/+5
| | | | | | | | | | | | Change-Id: I2edca269b6f90511f4d41570a1ad08b7cc9d2f6a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Niels Weber <niels.weber@qt.io>
* | Enable expanding items by defaultRiho Pihlak2018-01-031-0/+3
| | | | | | | | | | | | | | | | | | | | An item can be expanded by default in component tree by setting ExpandedByDefault to true in package.xml file. Change-Id: Ib324327cf6ef6e2dda3271e704f3ced523c6579c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* | Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2017-05-241-2/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: dist/config/config.xml dist/packages/org.qtproject.ifw.binaries/meta/package.xml dist/packages/org.qtproject.ifw/meta/package.xml installerfw.pri Change-Id: Ifaac76cd06737167a908baba5e554bedddd0e5ae
| * Change 'Checkable' element behaviorKatja Marttila2017-05-221-2/+1
| | | | | | | | | | | | | | | | 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>
* | Teach 'binarycreator' and 'repogen' to repack packages from repositoryKonstantin Podsvirov2017-03-131-0/+18
|/ | | | | | | | | | | | | To both tools added options: --repository The directory containing the available repository. --ignore-invalid-repositories Ignore all invalid repositories instead of aborting. Documentation added to ifw-tools.html page. Task-number: QTIFW-925 Change-Id: I36519385df6166d0e450c0ef9d7df44c8611d6a6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Merge remote-tracking branch 'origin/2.0'Katja Marttila2017-01-3025-41/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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