aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Android: Add option to use aapt2 instead of aapt in Android.sdk moduleRaphaƫl Cotty2020-06-041-0/+8
| | | | | | | | | | | aapt has been deprecated (https://developer.android.com/studio/command-line/aapt2) and replaced by aapt2. PropertyOption aaptFileName allows those value: "aapt" and "aapt2". Default value is set to "aapt" for the moment. Fixes: QBS-1562 Change-Id: I1970cafaa54a0e035c08ffe5f9967b712f5c5253 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: use \qmlmodule for ProbesIvan Komissarov2020-06-0311-12/+11
| | | | | | | | This fixes qdoc warnings like that: "Could not resolve QML import statement for type 'PathProbe'" Change-Id: I839ddd2c702b1d56d2209c0eba4e3e44f2178364 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Remove extra \endtable tag because it is typoDenis Shienkov2020-05-311-1/+0
| | | | | Change-Id: I2b03952f7c051243c70c512b3185ac1f2d73d4f7 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Msvc: Handle windows module definition fileDenis Shienkov2020-05-261-0/+8
| | | | | | | | | | | | | | | | | | | Module-definition (.def) file provide the linker with information about exports, attributes, and other information about the program to be linked. This file can be used instead of e.g. __declspec(dllexport) keywords inside of a header files to export an appropriate symbols: * https://docs.microsoft.com/en-us/cpp/build/reference/module-definition-dot-def-files?view=vs-2019 * https://docs.microsoft.com/en-us/cpp/build/reference/def-specify-module-definition-file?view=vs-2019 To make it supported, we have created the additional 'def' file tag, and now we can add the required module-definition file to the {Product|Group}'s 'files' property. Fixes: QBS-571 Change-Id: I831d2e1b8f9f061a4414a5eaac85b71584f48c5d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported National Semiconductor CR16 architectureDenis Shienkov2020-05-251-0/+4
| | | | | | | Change-Id: I9d302ce52b9fc280dff56c9f3fc51edf04ab5d1e Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported Renesas M16C architectureDenis Shienkov2020-05-251-0/+4
| | | | | | | Change-Id: I454afa13b6b693f5818d207ab06927c9df1a0c01 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported Renesas R32C architectureDenis Shienkov2020-05-251-0/+4
| | | | | | | Change-Id: I00b2063807943a32ff23f0bb26b642430036f973 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Add support for Renesas M32R architecture to GCC toolchainDenis Shienkov2020-05-251-0/+5
| | | | | | | | | | | This patch adds a new M32R architecture, provided by Renesas: * https://www.renesas.com/eu/en/products/microcontrollers-microprocessors/m32r.html Change-Id: I4f1550b00a2bd651c88c0b58fc250e3f65405406 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported Renesas M32C architectureDenis Shienkov2020-05-191-0/+4
| | | | | | | Change-Id: Idbae1dcc9223bbc975c7139d1d3f994dc66a4ea4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Extend description of 'm68k' architectureDenis Shienkov2020-05-181-1/+2
| | | | | | Change-Id: I222a4de86bd131a21c28ed343cfc56348765ef0d Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported M68K architectureDenis Shienkov2020-05-151-0/+4
| | | | | | Change-Id: I09ab919b7e4598e21a34f832219d4376e5ffb2d5 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported Xtensa architectureDenis Shienkov2020-05-151-0/+5
| | | | | Change-Id: I0a45d7b0f5c91a7988c12733146bb5d57d6e6d41 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported RISC-V architectureDenis Shienkov2020-05-151-0/+4
| | | | | Change-Id: I4b20ff0fb005b49d7444eacf429dc19210d2200d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about new supported SuperH architecture from RenesasDenis Shienkov2020-05-151-0/+4
| | | | | | Change-Id: Ieb2a2f9aefccd5118190752b2732d9c3903533a4 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix copyrightsIvan Komissarov2020-05-125-5/+5
| | | | | | | | In several places, mail was missing. In others, it was incorrectly placed on the 'Contact' line Change-Id: I462301555fe59140f54fd504b5beb37d7c6fca87 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add documentation for the SubProject.condition propertyJochen Ulrich2020-05-111-0/+14
| | | | | Change-Id: I608360c97e02f6d33527c910562eeb33b1a40a1d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Fix typo in MCS51 architecture tagDenis Shienkov2020-04-291-1/+1
| | | | | Change-Id: Ia653feb232bc6f0d5e939e075732d74469730412 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add mention about all supported architecturesDenis Shienkov2020-03-311-0/+96
| | | | | | | Change-Id: Ia09a3ca5f8f6b44a408b2fa190f9fa59b198637b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* doc: Provide info about Library itemIvan Komissarov2020-03-306-80/+165
| | | | | | | | Also, document the installDebugInformation and debugInformationInstallDir properties Change-Id: I7f98590cfb0c2194f9f64ce8aecac0095ec465d0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add info about LibraryProbeIvan Komissarov2020-03-301-0/+62
| | | | | | Task-nubmer: QBS-1187 Change-Id: Iaf91ebc1bdf8013806e74b7fc251b4749f464fb5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Do not use app.qmltypes anymoreMaximilian Goldstein2020-03-301-2/+3
| | | | | | Task-number: QTBUG-82710 Change-Id: Ibb7c94c4f5de7ecc2dc45634a31d88b3cf55b881 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Document cpp::compilerVersion propertyDenis Shienkov2020-03-301-0/+9
| | | | | | Change-Id: I0fc96e94dad773b9a827e4b1fea7a3e2089332a2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix wrong property name in code snippetRichard Weickelt2020-03-261-1/+1
| | | | | | | | | The property has been renamed while writing the documentation and this location has not been updated. Change-Id: Ib8c26e95addd12015b9c1c3726276fc18fda2cd4 Fixes: QBS-1541 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Use docker-compose exclusively for managing Docker imagesRichard Weickelt2020-03-261-20/+21
| | | | | | | | | | | | | | | | | | Qbs used to have docker products and a module for building the images, but this became obsolet and was superseded by the docker-compose infrastructure. Docker-compose is a much better fit for our use-case (which is mostly CI). It allows us to use unique (and complicated) tags both when building and running the images without exposing that to the user. Unique tags like bionic-5.12.6_1.14.1-2 instead of just bionic ensure that changes in the infrastructure don't suddenly break builds in older branches using the same image. This patch also updates the documentation to emphasize the usage of docker-compose. Change-Id: I45335d37034d10dda5ab5079ee3be1f81cb3e5c5 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Convenience items can now install separated debug infoIvan Komissarov2020-03-201-7/+25
| | | | | | | | | | | | | | | This patchset adds the 'installDebugInformation' and 'debugInformationInstallDir' properties to the NativeBinary item and adds Group items that install debug info to the Library and Application items. Also, update How-To about installing debug symbols More documentation (for the Library and the NativeBinary items) will be added in a separate patchset Change-Id: I32687b99871fe40a8e26db09aa118a89ae73f922 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add info about first capital letter in custom items file namesIvan Komissarov2020-03-201-0/+2
| | | | | | | Task-number: QBS-667 Change-Id: Ia3f946c0bf4c4047f1dc15044d68f554a8a73a21 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Fix previous page in application.qdocIvan Komissarov2020-03-181-1/+1
| | | | | Change-Id: Ib007bf500b4aa11d2e0a9c3422b2ac693eb8c29c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: fix CppApplication base classIvan Komissarov2020-03-181-2/+2
| | | | | Change-Id: Ic368cdc22d8b551af1e000357c79831834499948 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add qbs.hostArchitecture propertyIvan Komissarov2020-03-111-1/+12
| | | | | | | | | | This property can be useful when some parts of the project (e.g. helper tools) should be compiled for the host platform/architecture disregarding what targetPlatform/architecture the rest of the project is being built for Change-Id: I8c76ef65470130df59826603157083fd20809592 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Qt: Add support for the new QML type registration mechanismChristian Kandeler2020-03-091-0/+70
| | | | | | | | | | This implements the Qt 5.15 type registration approach via the qmltyperegistrar tool. Fixes: QBS-1531 Change-Id: Id77572a521513dc1759b02a7f7299377c2bcaabb Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* doc: fix candidateFilter exampleIvan Komissarov2020-03-091-1/+1
| | | | | | | We cannot use wildcards in this context, the example is misleading Change-Id: I125128908652e196c3e33813275fe88597f56481 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add "profiling" build variantIvan Komissarov2020-03-062-8/+20
| | | | | | | Also known as "release-with-debug-info" Change-Id: Ieed358810ea423ea7a9a1a52a36fa35cf165dfac Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: add How-To section about separating debug infoIvan Komissarov2020-03-062-0/+61
| | | | | Change-Id: I8ae6f90da242b47ecbae7f9aeb11cebdf227ca73 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Document the fact that PathProbe.candidatePaths is always populatedIvan Komissarov2020-03-061-0/+18
| | | | | | | Even when PathProbe.found is false Change-Id: I52ee359d498076d017865c739a9ceb1d575aa2a1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Qt support: Add support for moc metatype filesChristian Kandeler2020-03-061-0/+28
| | | | | | | | From Qt 5.15 on, moc can generate metatype information in JSON format. Task-number: QBS-1531 Change-Id: Ie6969f70bac51cc80f11057841ba8d4b7947c646 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Documentation: Fix some macrosChristian Kandeler2020-03-051-2/+2
| | | | | Change-Id: I5efbb14d73f90665f8ff015075b681238d9c5244 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Use python3 in Travis for building docs and running clang-tidyIvan Komissarov2020-02-212-4/+13
| | | | | | Change-Id: I2f0d72abdf12a4e64b79bf9a3c02b32cf4cbeed6 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: More info about qbs.toolchainType and qbs.toolchain propertiesIvan Komissarov2020-02-211-28/+106
| | | | | | Change-Id: I76b711aa16827e44eabea44113853ac3ee4e67e2 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Adds missing documentation of timeout property for autotestsJochen Ulrich2020-02-153-1/+48
| | | | | | Change-Id: I10aa20a8d621030b3d0bea1a465cdbdb9ba6193c Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add ConanfileProbe item for querying conan recipe filesRichard Weickelt2020-02-151-0/+250
| | | | | | | | | | | | Conan is a popular C/C++ package manager. Conan packages including their configuration and dependencies are usually described as conanfile.txt/.py. ConanfileProbe runs 'conan install -g json' and parses the resulting conanbuildinfo.json. The resulting JS object tree contains relevant information about the dependencies and can be used to set module properties in Product, Profile or even Module items. Change-Id: Ied6b917f061dac67fb2260eab099bcce4037750d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Merge "Merge branch '1.15' into master"The Qt Project2020-02-051-1/+1
|\
| * Merge branch '1.15' into masterRichard Weickelt2020-02-051-1/+1
| |\ | | | | | | | | | Change-Id: I7e348db380b836221db79c73ea3b5f1d891f114b
| | * Doc: Fix default value of enableBundledQtJoerg Bornemann2019-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | This amends commit 905ee49f. Change-Id: I4faf5a1ef7d2a1dbdbe7ea78eae2e07a4f33ae61 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | | Android: handle relative sourceset directoriesAlberto Mardegan2020-02-051-2/+2
|/ / | | | | | | | | | | | | | | | | Allow the resourcesDir, sourcesDir and assetsDir to be specified as relative paths. Also, change their type to `path`, as that better fits their role. Change-Id: I76df92fe763154f80ca3759e15de3ad70173632b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | MSVC: Use compiler driver for linkingIvan Komissarov2020-01-241-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To be able to use cpp.driverFlags and cpp.driverLinkerFlags with clang- cl. This patchset makes possible to use clang-cl with "- fsanitize=address" flag without passing the sanitizer libraries manually to the linker There's also a behavior change in which linker is used - clang-cl uses native linker by default. Old behavior can be restored by setting cpp.linkerVariant to "lld" Fixes: QBS-1522 Change-Id: I9528ce40aa5fdfab987672b15fffd830fa2d6376 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Use an empty array for the qbs.targetOS if targetPlatform is undefinedIvan Komissarov2020-01-141-0/+6
| | | | | | | | | | Change-Id: I4bc1ff7cacb606e4baa9f2bfe59b8dca1b88e434 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | doc: Improve Export item exampleIvan Komissarov2020-01-101-4/+33
| | | | | | | | | | | | | | | | | | | | | | The first note was not true considering the example above - A's includes were not exported since A were not exported from B. Fix that and clarify that dependencies are not exported by default Change-Id: Id2ce1b98dce0b25fd57b9aced250092f51ccee16 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | doc: Fix qbs::targetPlatform typeIvan Komissarov2020-01-061-1/+1
| | | | | | | | | | | | | | | | It is string, not stringList Change-Id: I9844e8e791dfff395dd4af040809c706857aaa28 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | doc: Fix braces in snippetsIvan Komissarov2020-01-062-5/+5
| | | | | | | | | | | | | | Change-Id: I1d9601d9c969a0ec34cddca0d0e5053d06a039bf Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | doc: Add CONTRIBUTING.md fileIvan Komissarov2020-01-061-0/+1
| | | | | | | | | | | | | | | | | | ...according to the GitHub contributing guidelines Change-Id: I05193a796dc3dff7251f827f0c628f47b6381a70 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>