summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
| * Doc: add docs for PackageManagerCoreLeena Miettinen2015-05-261-0/+733
| | | | | | | | | | | | | | | | | | | | | | Move the scripting API documentation to a separate qdoc file. Where possible (no QDoc errors are generated), only link from the C++ API documentation to the scripting API documentation. Change-Id: I969e9afc5cd45c495e6c517b825abb9a9aabdd82 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
| * Document -static-runtime argument for Qt 5.5 onwardsKai Koehne2015-05-121-3/+4
| | | | | | | | | | Change-Id: Ic26cabbc42aa7247a6078f5fdf26320340a1c461 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
| * Doc: link from C++ API ref to scripting API refLeena Miettinen2015-05-081-21/+30
| | | | | | | | | | | | | | | | Remove duplicated text where possible, and unify the text if it is needed in both files (by QDoc). Change-Id: If0c62a4a4abf6c1f61fd24f7947b9bc9bfb14f63 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
| * Doc: add link to controller scripting topicLeena Miettinen2015-05-081-0/+2
| | | | | | | | | | | | Change-Id: I929ced36d59f52621785e44c7d93fd24f237d590 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
| * Doc: Fix layout issues on the operations tableTopi Reinio2015-05-081-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | Replace a \code block with a monospace \c text, and unintended '\n' sequences with spaces, allowing the text to span multiple lines. These changes make the table more readable by reducing its width and avoiding the creation of a scrollbar. Change-Id: Iff87fe2fe1b017e88395701643d278cb868e7f04 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
| * Doc: fix code snippet in controller scripting sectionLeena Miettinen2015-05-051-1/+1
| | | | | | | | | | | | Task-number: QTIFW-687 Change-Id: I5690e9ebd4b8fae9f3f21b6685bec0d2c2999913 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* | Implemented xml:lang attribute support for DisplayName tag.Dmitry Mordvinov2015-05-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Components in tree view are often need to be localized. Therefore packages.xml syntax is extended with possibility to specify xml:lang attribute for DisplayName tag (similarly to Description one). Test data extended with root component localization. Added new testcase that changes default locale and checks that loaded component names correspond to hard-coded ones. Docs updated with new feature description. Change-Id: Ic330c3c6684e763eb48a2e99e71784913544e686 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* | Enable feature live preview of dependenciesjkobus2015-05-071-0/+5
|/ | | | | | | | | This feature is available after setting InstallActionColumnVisible property to true inside config.xml Change-Id: I5071d5c5c4562100a96530c581de01760ca0d2d5 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix dubious warning about RequiresAdminRights tag.kh12015-04-271-0/+5
| | | | | | | | | | | | | The tag was added once component script is parsed and we did know that addElevatedOperation is called from script. However, the initial commit 7ccd0acdcf35b957e9e7d04cd81902bac362ad04 did not append the node to the parent package update node. Now we decided to have the option statically and declarative available, so we can remove the warning. Task-number: QTIFW-670 Change-Id: I8cd8f702391d7bf80fc4c42074e1fd6d2d4abc57 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: Remove mentioning of "UpdateAgent"Kai Koehne2015-04-171-2/+1
| | | | | | | | It's the only place we mention an 'UpdateAgent' in the documentation/code. Change-Id: I4e26246d7ecd7c9a81c006fb7448a9f788f7df20 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Document the operation storing mechanism more precisely.kh2015-04-141-0/+9
| | | | | | Task-number: QTIFW-669 Change-Id: I7b4a89f74c0e82ec091876effaedf304de345fbd Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: component.virtualStateChanged() signalLeena Miettinen2015-04-131-0/+6
| | | | | | | | Docs were missing from the scripting API docs. Change-Id: I941e387c4226fae2a4640605299d925b3101bf46 Task-number: QTIFW-655 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: AdminTargetDir element is Linux onlyLeena Miettinen2015-04-131-2/+4
| | | | | | | | In the configuration.xml file. Task-number: QTIFW-658 Change-Id: Ia83649aac14be1d24bc1aa1cfee27da4d335e63e Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* "Selected" property has gone.Jarek Kobus2015-04-101-6/+0
| | | | | | | Please see 5f6afc7d268dd16dd3f28d3579ae9517954a6553 Change-Id: I02a026c19d768b4d9c0c9f179d5738a121f46e99 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Mention compiler requirements2.0.0Kai Koehne2015-04-021-0/+7
| | | | | | Change-Id: Iae3637ea149199f9b152efa4ea27a42bd4581974 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Update system requirementsKai Koehne2015-04-021-2/+2
| | | | | Change-Id: I316a737c8a3763baa3b35646e60a9a2d4b3468b3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Exclude icu on Linux as well when building Qt.Niels Weber2015-03-181-1/+1
| | | | | Change-Id: I8327acb19e7141750caba882a7748bbf5d70a8ba Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Detail LineReplace documentationChristoph Vogtländer2015-03-131-1/+2
| | | | | | | | Lines are trimmed before the search. Change-Id: I1abbd0fa4abd105802c75ded80fcc82090e50e18 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Update repogen documentationKai Koehne2015-03-111-21/+25
| | | | | | Change-Id: I098b02f1fc0df4c3e2b09c5f97914be9c479d751 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Fix embedding of installbase manifestKai Koehne2015-03-111-8/+5
| | | | | | | | | | | | Redefining QMAKE_MANIFEST is currently broken in Qt for newer compilers: The content is not embedded at all if the toolchain supports "embedding". But the hack is not needed anyway: Just disable the Qt manifest magic, and include our custom manifest file via .rc. This way we can also avoid changing the mkspec for embed_manifest_exe, embed_manifest_dll. Change-Id: I5155ddabe17f0b61b2d7b9c5b9cd912ad6c53dfe Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add links to topics that describe the namespacesLeena Miettinen2015-03-113-4/+28
| | | | | | | | | | | | In addition to linking to the classes from the top level topic. The namespace topics are generated automatically and list all classes in a namespace with brief descriptions. Add subtitles for listing the classes in each namespace. Change-Id: I0304a86717e018fa3af9f213871f159fdb4ce05c Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: move systeminfo scripting docs to a separate fileLeena Miettinen2015-03-112-1/+141
| | | | | | | | | | Reformat the docs in systeminfo.cpp as C++ code docs. Edit for style. Change-Id: Idec8aaae072a97f889b4d48051341ff766da4247 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: add archivegen usage to Reference > ToolsLeena Miettinen2015-03-111-17/+21
| | | | | | Change-Id: I4da08d1c34124ae9c2009c37121964a6b0dfaa66 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: move component scripting docs to a separate fileLeena Miettinen2015-03-092-1/+426
| | | | | | | | | Reformat the docs in the C++ file as C++ documentation. Fix language and style issues. Change-Id: Ifc2ac0a99700d8b2a2ca6835927cdfb0abd7ed2e Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: add docs for print JavaScript objectLeena Miettinen2015-03-092-0/+5
| | | | | | Change-Id: I84d9987f3f6bfe6bf6788c89d4f5ab43c29655d5 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add information about some operationsLeena Miettinen2015-03-061-1/+7
| | | | | | Change-Id: I4dc0ac7b46558cba6f2f41fddab468af88c15e2a Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: add docs for the gui JavaScript objectLeena Miettinen2015-03-061-1/+36
| | | | | | | Text was copied from packagemanagergui.cpp. Change-Id: Idca8ce779bd5a3dbf5b3e7e4eca085c82973447e Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: move ScriptEngine scripting docs to separate filesLeena Miettinen2015-03-067-0/+535
| | | | | Change-Id: Iac1c810cf52fb4a480ebde956d62830af97b6f8c Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Update link to new wiki.qt.ioKai Koehne2015-03-051-1/+1
| | | | | Change-Id: I1863757f318da273ad2f09037832f6b8a222e225 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Replace gitorious by code.qt.ioKai Koehne2015-03-051-1/+1
| | | | | Change-Id: Ia869ca9cb66adbd6c9cd71c22da4807aadcf0315 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Docs: edit MessageBoxHandler docsLeena Miettinen2015-03-052-1/+104
| | | | | | | | Move scripting docs to another file and add C++ docs. Edit the C++ docs for grammar and style. Change-Id: I2494c573662687cd107916c06e24b0f528596a7e Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add missing operationsLeena Miettinen2015-03-021-1/+51
| | | | | | | | | Change-Id: Id521fb8bcef2358432d0ec65319da764063cc9c2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix the default installation location for all examplesLeena Miettinen2015-02-261-1/+1
| | | | | | | | 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>
* Fix dependencies in static buildKai Koehne2015-02-251-1/+1
| | | | | Change-Id: Iae06c6d5a9b1c678a4ab136da145a9c69ccadb6e Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Update CopyrightKai Koehne2015-02-1814-70/+70
| | | | | Change-Id: I8dde6629cfd461104364d5cdc255cb54b58283fa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Add a translation exampleNiels Weber2015-02-092-4/+15
| | | | | | | | | | 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>
* Doc: Link directly to the respective tools from the overviewKai Koehne2015-02-051-3/+3
| | | | | Change-Id: Ifc67d38da7d8018348e41eac18fa23dc5da8acc0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: add defines to qdocconf to suppress doc errorsLeena Miettinen2015-01-291-0/+82
| | | | | | Change-Id: I8871a24d4b28473d7a2079debb02428abf9f8653 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Doc: Fix capitalizationKai Koehne2015-01-261-2/+2
| | | | | Change-Id: Ifa70b0928bd24f8b9be6f627d11d0ae79944cfd9 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: update the Controller Scripting topicLeena Miettinen2015-01-231-32/+66
| | | | | | | | | Fix some style and grammar issues. Add some subtitles and some information. Change-Id: Ibf2a3b4ff2a61782b45d772754859b35c7043192 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Don't show checkbox for autodependent componentsjkobus2015-01-231-2/+14
| | | | | | Change-Id: Ia954f6337c188453f05b37725975be98a28d564f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: fix broken linksLeena Miettinen2015-01-211-14/+12
| | | | | | | | | | To get rid of some QDoc error messages. Also remove the \c command to enable automatic linking to scripting API and C++ classes. Change-Id: I317301bd0097059faf6e7696707fc1f0e3ed0beb Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: add the XML requirement for escaping <Leena Miettinen2015-01-211-4/+7
| | | | | | | | | One must use the character reference "&lt;" to escape the left angle bracket within XML elements. Change-Id: I69d3683b3a3b1e9f3e62cb6199e554d13de1f58f Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com>
* no longer use Version as the repository format versionChristoph Vogtländer2015-01-203-6/+5
| | | | | | | | | | | | Use the Version value defined in config.xml as the product version exclusively instead of sometimes using it as the repository format version in components.xml (which must be 1.0.0) and sometimes as the product version. Change-Id: I63864947bf131ac6e246a2aaf6febdda0555c13d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Mark "os" variable as deprecatedKai Koehne2015-01-201-1/+3
| | | | | | | | | | | 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: replace "sections" and "settings" with elementsLeena Miettinen2015-01-194-60/+67
| | | | | | | | | | | As we are describing XML files. "Settings" is still used where appropriate. Also use the angle brackets around element names more consistently. Change-Id: I5c7179212c90d8f2cd55e28af98e7cd785603f4a Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Fix code examples to use 'MaintenanceToolName'Kai Koehne2015-01-191-1/+1
| | | | | | | | | Commit 27390528bd renamed the <UninstallerName> tag to <MaintenanceToolName>. Fix remaining uses of <UninstallerName> to use the new tag. Change-Id: I2a397b7c23e2d3a0e8d8759f24d407cdfd4e5fa5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: add information about control scriptsLeena Miettinen2015-01-192-20/+100
| | | | | | | | Modify the Customizing Installers topic to also discuss Control scripts. Change-Id: I7a140c9bcf913ae914bf4c611f658ecc70c84fce Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: make example briefs more consistentLeena Miettinen2015-01-151-0/+3
| | | | | | | | Make clear that all current examples illustrate how to use component scripts. Change-Id: Id1015912723ed2f8f982d8316c8923e47e4897bc Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: add disclaimer to the C++ class referenceLeena Miettinen2015-01-151-0/+8
| | | | | | | | | | This reference is meant for Qt Installer Developers, not typical users. Change-Id: Ie256e8fceac859380434ce67c84d4024684661ae Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>