aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Document the list-products commandChristian Kandeler2018-06-151-0/+63
| | | | | Change-Id: I948e6251a97b0af94081255a79c11b18d6c8e9d4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Fix CLI documentationChristian Kandeler2018-06-1511-11/+11
| | | | | | | Adapt to the change in how to specify the build configuration name. Change-Id: Ia339d3c991e7b9f82b23ed7f40c5eea19f003dd1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Fix typoJesus Fernandez2018-06-131-1/+1
| | | | | Change-Id: Ifdcf21c004bae0a2e20a7b5c529466b4a7da8efe Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Exporter.pkgconfig: Add support for custom variablesChristian Kandeler2018-06-061-0/+12
| | | | | Change-Id: I42a01e549c15c91428d0f8bd9be03ea59c773032 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update man pageChristian Kandeler2018-06-051-3/+3
| | | | | Change-Id: I46d015812d0cb49716123dc5a6748acf48c8bb3f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add module Exporter.pkgconfigChristian Kandeler2018-06-042-0/+200
| | | | | | | | | | | | This module generates .pc files for products, optionally attempting to derive some of the entries from the contents of the Export item. [ChangeLog] Added new module "Exporter.pkgconfig" for creating pkg- config metadata files. Task-number: QBS-1232 Change-Id: Ic41e645e4462e8f85ad6c2025fb967e88d3438f9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add support for system-level settingsChristian Kandeler2018-06-016-8/+70
| | | | | | | | | | | | | In addition to the traditional per-user settings, there is now also a system-wide settings file affecting all users. The file's platform- specific default location can be overridden at build time. The qbs-config tool can write these settings via the new --system option. [ChangeLog] Introduced the concept of system-level qbs settings Change-Id: Ie6f675a74e96ce1fa7b2dd0712f6106071e848a6 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Fix a typoLeena Miettinen2018-05-301-1/+1
| | | | | Change-Id: I143997ecbda03a290307d62c30adbca1527f7e0a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix copy/paste artifact in AutotestRunner documentationChristian Kandeler2018-05-291-1/+1
| | | | | | | The workingDir property is of course a string. Change-Id: If0c5dbccb4debe20640cb4add0d0d13d0dc85d8e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add how-to for running autotestsChristian Kandeler2018-05-291-0/+31
| | | | | Change-Id: I438c6e754ea03a53306cc7d55debcc6574d2c2f9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Documentation: Work around qdoc quirkChristian Kandeler2018-05-254-5/+5
| | | | | | | | Apparently, the name of a snippet identifier cannot have the name of another snippet identifier as a substring. Change-Id: Ic82a26f3e05daa627f2de36d330e31216cf0a76e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Make cpp.cxxLanguageVersion a listChristian Kandeler2018-05-141-2/+4
| | | | | | | | | | | ... and choose the highest entry. This enables different modules to specify their requirements without introducing conflicts. Same for cpp.cLanguageVersion. Task-number: QBS-1225 Change-Id: I96ed6c370eb190023fdb69274dcb080d967f512d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Adjust qbs for the behavior change of the explicitlyDependsOn propertyAlexandru Croitor2018-05-091-0/+2
| | | | | Change-Id: I98248cfe0b5bd0cd86019e2eb5a26871e5716d1d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add new property explicitlyDependsOnFromDependenciesAlexandru Croitor2018-05-091-2/+12
| | | | | | | | | | | | | | | | This change adds new Rule item property called explicitlyDependsOnFromDependencies. It allows specifying a list of file tags to consider in dependent target artifacts which should be used as dependencies. [ChangeLog] The Rule item property explicitlyDependsOn no longer considers target artifacts of products that the processed product depends on. The new property explicitlyDependsOnFromDependencies can be used for that purpose. Change-Id: I47a80699fe881d4075b292ad164dd6e776049a83 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add a Makefile generatorChristian Kandeler2018-05-091-0/+53
| | | | | | | | | | | | | At the very least, this is a useful debugging tool, as it displays the artifacts part of the build graph in a familiar format. Tested successfully with the qbs project itself: The generated Makefile could be used to build a working qbs on Linux and Windows. [ChangeLog] Added a Makefile generator Task-number: QBS-33 Change-Id: I8165168d9273bdb4853d4ac566b72087f9104f7a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* ModuleLoader: Do dependency resolving in two stagesChristian Kandeler2018-05-071-1/+1
| | | | | | | | | ... if needed. This is required to lift the restriction that products cannot be matched by Depends.productTypes if their type depends on a module property, which turned out to be too limiting in practice. Change-Id: Ibc51f035209e583d335719560a69d5bb42cb6df9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add AutotestRunner.auxiliaryInputsChristian Kandeler2018-05-071-0/+12
| | | | | | | | | | | This is a set of file tags representing run-time dependencies of the test executables. [ChangeLog] Added the AutotestRunner.auxiliaryInputs property for specifying run-time dependencies of test executables Change-Id: If1ac6256d83f535b8be859a096062f07b0070729 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add support for prefix/output in lex_yacc moduleJoerg Bornemann2018-05-041-0/+24
| | | | | | | | | | | | | | | | | | | | The user can specify the outputs of lex/yacc via %option prefix="foo" in the .l file and %output "parser.cpp" in the .y file. Also, introduce the following properties to specify the outputs: lexOutputFilePath, yaccOutputFilePath. Scan the lex/yacc inputs for those specifications and adjust the output artifacts accordingly. [ChangeLog] Added support for %option outfile and %output to the lex_yacc module. Change-Id: I5437c737ae8da54dc7eda81ac7384727f00f9d1f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add FileInfo.suffix and FileInfo.completeSuffixJoerg Bornemann2018-05-022-0/+15
| | | | | | | | [ChangeLog] Added FileInfo.suffix and FileInfo.completeSuffix. Change-Id: Ic74a2fcff2f3f1271fa60ac33b96a4c5a4d0e93d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Handle Depends.productTypes entirely in the ModuleLoaderChristian Kandeler2018-05-021-0/+2
| | | | | | | The old approach was not compatible with product multiplexing. Change-Id: Iac5947665c41c284fa9e177920fd4f225d353973 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* AutotestRunner: Set the working dir when invoking a test executableChristian Kandeler2018-05-021-0/+10
| | | | | | | | | | | | This helps with converting projects, as "make check" is also run from the executable's location and the executable may depend on that. The user can override the working directory. [ChangeLog] The AutotestRunner item now has a workingDirectory property. By default, the test executable's location is used. Change-Id: I7349a41960f7b637c3b1dd4c3bc10252d136526a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Merge 1.11 into masterChristian Kandeler2018-04-271-1/+1
|\ | | | | | | Change-Id: Ib21dd21c6bbcd99a44884e796c12422e66288c28
| * Documentation: Fix use of outdated command-line syntaxChristian Kandeler2018-04-231-1/+1
| | | | | | | | | | | | | | | | | | This was overlooked when we introduced the "config" key. Task-number: QBS-1332 Change-Id: I4b12c2a03995613f6c6956545c6ba2fd7c9feadd Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Documentation: Add link to console API in porting guideChristian Kandeler2018-04-231-3/+1
| | | | | | | | | | | | | | Task-number: QBS-1320 Change-Id: I9317228fc53f0d31a415628533393111e1ddb62d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Merge 1.11 into masterChristian Kandeler2018-04-201-37/+37
|\| | | | | | | Change-Id: Iebe7584bd2978a8f8be093c6b366033076f83e74
| * Doc: Fix documentation for the Xml serviceJoerg Bornemann2018-04-181-37/+37
| | | | | | | | | | | | | | | | | | | | Document the Xml service instead of the deprecated XmlDom* imports which were not working with the require() syntax. This amends commit 9f6ee4c3. Change-Id: Ib7e85dea7e0d1bdc77170e95a2a79e9a1a294284 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Add QtScript git submoduleJoerg Bornemann2018-04-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds QtScript as a git submodule to build the qbsscriptengine library. QtDeclarative support has been stripped out. We don't need that. Windows CE and Symbian platform support has been removed. JIT has been disabled, which improves resolve/rule execution by 8%. [ChangeLog] Bundled QtScript as a submodule. Task-number: QBS-913 Change-Id: Idfbaf06eb2cef3985e5eae955f231686499f7754 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | Merge 1.11 into masterChristian Kandeler2018-04-052-2/+52
|\| | | | | | | Change-Id: Ia9e19bf1317c55d84602e4e0f54f7a4f412dd600
| * Doc: Add a section about licensingLeena Miettinen2018-03-212-2/+52
| | | | | | | | | | | | | | Task-number: QBS-1314 Change-Id: I2cfdf2d826a31523823cec195585725851acd2be Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Fix and rename the excludedAuxiliaryInputs propertyChristian Kandeler2018-04-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This property did not only exclude auxiliary inputs, but all kinds of inputs ("inputs", "auxiliaryInputs", "explicitlyDependsOn"), which happens to be what we want, as it does not appear to make any sense to exclude only tags from one of the relevant "input-like" properties. But the behavior was inconsistent: When building the (product-local) rule graph, the property was considered, but not when collecting artifacts from other products during rule application. This is now fixed. [ChangeLog] The excludedAuxiliaryInputs property of the Rule item has been renamed to excludedInputs. The old name is deprecated. Change-Id: Id7eae3461a6e85f53b3d47750d296c3e47a18a95 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Bump required Qt versionChristian Kandeler2018-04-031-1/+1
| | | | | | | | | | | | | | ... and remove the workarounds that are no longer needed. Change-Id: Ie0ae19279633784f8cea3bdbe4a9eeaa308689aa Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Merge 1.11 into masterChristian Kandeler2018-03-151-25/+4
|\| | | | | | | Change-Id: I15cdc5c73a13c36cf073d01aff0406e539bb507b
| * De-duplicate documentation for the use*PrecompiledHeader propertiesChristian Kandeler2018-03-131-25/+4
| | | | | | | | | | | | Change-Id: I91a0fb6d2c203adf39c8c469d96c3b832854f9ca Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Documentation: Fix syntax errorChristian Kandeler2018-03-141-1/+1
| | | | | | | | | | | | Change-Id: I4209bd3ff88ce64c2089c23f43fbb8026613915e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Add module Exporter.qbsChristian Kandeler2018-03-141-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | This module generates qbs modules from products, providing an interface to them for use by external projects. [ChangeLog] Added new module "Exporter.qbs" for creating qbs modules from products. Task-number: QBS-1231 Change-Id: I9f0cf04b441aaf279cf19a84fd94d97a8cea9de8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Provide rules with information about the content of Export itemsChristian Kandeler2018-03-141-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The product variable gets a new property "exports" that provides a "dependencies" array as well as property values the same way that the product variable itself does, but for exported dependencies and properties, respectively. In addition, meta data about these properties is provided via a "properties" array, and structural information can be retrieved via "childItems". This data is intended to be used by modules creating interface files from products. Task-number: QBS-268 Change-Id: I2bb106e1ca1b18abbd6fe60411bc81bda9ee35e7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Add new property type "varList"Christian Kandeler2018-03-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | While we could already assign arrays to variant properties, these would not have list semantics when merging modules, so this fills a gap in our type system. [ChangeLog] Added new property type "varList". Change-Id: I54581119f60582f2b11290e13cd4920fd72f55a1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Merge 1.11 into masterChristian Kandeler2018-03-091-1/+11
|\| | | | | | | Change-Id: Ie416a83940654e21b8872a8c7dc9f56b677ebabd
| * Qt templates: Fix detection of QtQuick compilerChristian Kandeler2018-03-051-1/+11
| | | | | | | | | | | | | | | | | | In Qt 5.11, the features/qtquickcompiler.prf file is always present, even if the QtQuick compiler is not. Task-number: QBS-1299 Change-Id: Ibc7f925f1b1753d870ddad939fd510637c3b7642 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Fix handling of rules whose outputs all have "alwaysUpdated == false"Christian Kandeler2018-02-261-4/+3
|/ | | | | | | | | It is wrong to always run the transformer in that case. If any of these outputs are up to date, then it must not be re-run. Change-Id: Ia79fba235d8829aad1d41c2c4288cc57d89434cc Reviewed-by: Ola Røer Thorsen <ola@silentwings.no> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Only use fallback values for the -std= command line option when neededJake Petroules2018-02-211-0/+43
| | | | | | | | | | | | | | | Instead of always using the fallback value, we instead always use the standard value unless we know we're running an older toolchain which does not support it. This alleviates the potential for differing behavior in newer versions of compilers which may attempt to remain compatible with earlier drafts of corresponding standards. [ChangeLog] Always use standard values for -std= when possible Change-Id: I61ff3ecd863caa24cb8fb54500e62dc310a2af02 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix race conditions in innosetup, wix and nsis modulesChristian Kandeler2018-02-163-18/+0
| | | | | | | As first attempted in 7f6ec1cc27. Change-Id: Ib76dbdfc0a60b27d38d93a22c9556d54f07a3dac Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Add information about disabling precompiled headersLeena Miettinen2018-02-151-0/+16
| | | | | | | | | ...for a group of source files by setting the cpp.useCPrecompiledHeader property (or its variants) to false. Change-Id: Ie35039825a881c07d11e5c74c03959ac0be3c200 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Add a how-to for using precompiled headersLeena Miettinen2018-02-151-0/+26
| | | | | | Task-number: QBS-1184 Change-Id: Icb72672b36da8a4ccea7edc84bc3c71a4355f2d5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Increase copyright year to 2018Leena Miettinen2018-02-141-1/+1
| | | | | Change-Id: I0a3bf8f6312f0c47eb6eea47e3e8779e2f78504b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Add docs for the DomXml JavaScript extensionLeena Miettinen2018-02-131-0/+342
| | | | | | Task-number: QBS-1281 Change-Id: I56f2fb8e75dd0eb8e1da7a8478dcacc53cbbda5a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Qt.scxml: Add support for the --statemethods optionChristian Kandeler2018-02-121-0/+10
| | | | | | | | | | | | | Also add an undocumented property to add arbitrary options. This one acts as an emergency fallback in case we miss a new option in the future. Task-number: QBS-1295 Change-Id: I0ba81325d6975d8bb25cbd397c9daaaa12f685c2 Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Andreas Bacher <andreas.bacher@meon-medical.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add documentation for FileInfo.{to,from}NativeSeparatorsChristian Kandeler2018-02-121-0/+14
| | | | | | | Task-number: QBS-1279 Change-Id: I9465777e9fa70394ed0ae6721f6fd368d2e49dfe Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add docs for Utilities.cStringQuote and Utilities.versionCompareLeena Miettinen2018-02-091-3/+29
| | | | | | Task-number: QBS-1289 Change-Id: I303edb0c0dabde6c78791a943faaaa325e613171 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Fix keywordLeena Miettinen2018-02-071-1/+1
| | | | | | | | | It was causing the wrong F1 help to be opened for Profile items. Task-number: QBS-1298 Change-Id: I4df20ed4d2bf6c99e79fb68b820e2e47b605e220 Reviewed-by: Ola Røer Thorsen <ola@silentwings.no> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>