aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* Share cpp::linkerMapSuffix propertyDenis Shienkov2021-04-011-0/+8
| | | | | | | | | | | | | | | | It makes sense to add the cpp.linkerMapSuffix property to the base CppModule due the following reasons: 1. It is possible that the user wants to change the extension for the generated map files, which makes working with Qbs more flexible. 2. It will be easier to write an autotests that check the generation of the map files for a bare metal platforms, where object files can have various extensions such as ".map", ".m51", ".m66", and so forth. Change-Id: I1e5e3b39bf84fddfe8c06f2db9d3936c6a3ff027 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Android: Code signing moduleRaphaël Cotty2021-04-011-1/+64
| | | | | | | | | | | | | | Android.sdk was already signing the apk package but it was using hardcoded debug key and could only be used to run the application locally. The signing part of the android apk/aab package generation is now in the new codesign module. By default the same debug key is used. But it is now also possible to configure a different key. Task-number: QBS-899 Change-Id: I49c54a4d55578c48363805e927392b3a468805f0 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Share cpp::objectSuffix propertyDenis Shienkov2021-03-301-0/+8
| | | | | | | | | | | | | | | It makes sense to add the cpp.objectSuffix property to the base CppModule due the following reasons: 1. It is possible that the user wants to change the extension for the generated object files, which makes working with Qbs more flexible. 2. It will be easier to write an autotests that check the generation of the object files for a bare metal platforms, where object files can have various extensions such as ".rel", ".r90", ".r43", and so forth. Change-Id: Ib73836d5e614a6924d312d061f02437c3b318785 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: remove duplicate doc entry for cpp.toolchainInstallPathIvan Komissarov2021-02-261-8/+0
| | | | | | | Amends 9e91c978f Change-Id: Ia703221a3a978a22b1adb20554e900575ae30c2b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: add a note about timestamps in File.copyIvan Komissarov2021-02-261-0/+3
| | | | | | Task-number: QBS-1634 Change-Id: I8098253e3858e114028017e7543494f9ba519160 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Merge branch '1.18'Ivan Komissarov2021-02-191-0/+155
|\ | | | | | | Change-Id: I4e437865514add88558f66420718bc02fb39e41d
| * Add protobuf.nanopb documentationKai Dohmen2020-12-181-0/+155
| | | | | | | | | | | | Change-Id: Id0e2744fc9dcf8b30bf15eb543036947399664e3 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Implement codesign moduleJake Petroules2021-02-181-0/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves code signing functionality into a dedicated module, and also implements automatic provisioning for Apple platforms, which automatically selects appropriate signing identities and provisioning profiles based on the product being built. This also results in a significant performance improvement since all code signing setup information is retrieved in process instead of forking off the openssl and security command line tools. Task-number: QBS-899 Change-Id: I60d0aeaeb2d1004929505bcb1e0bc77512fe77bc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | doc: Add mention about missing `bare-metal` architecturesDenis Shienkov2021-02-094-3/+13
| | | | | | | | | | | | Change-Id: I68abceabdbc6acf776cc5b5b349ba44d73e4376a Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | baremetal: Add support for HCS08 architectures to IAR toolchainDenis Shienkov2021-01-261-0/+3
| | | | | | | | | | | | | | | | | | | | This patch adds the HCS08 architectures, provided by Freescale Semiconductor: * https://en.wikipedia.org/wiki/Motorola_S08 Change-Id: Idd668e30bfeb69e588b93b15131e741924b66f40 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | baremetal: Add support for HCS12 architectures to IAR toolchainDenis Shienkov2021-01-211-0/+3
| | | | | | | | | | | | | | | | | | | | This patch adds the HCS12 architectures, provided by Freescale Semiconductor: * https://en.wikipedia.org/wiki/Motorola_68HC12 Change-Id: I9083bac9997e0dec50e0392040ce63beaa8a8f05 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Merge branch '1.18'Ivan Komissarov2020-12-181-5/+7
|\| | | | | | | Change-Id: I37c359289dcd957fbc964a35fab381a047f7d04a
| * doc: Fix doc about bundle.indentifier and indentifierPrefixIvan Komissarov2020-12-141-4/+6
| | | | | | | | | | Change-Id: If381b6fab70732a6d980bd1334b709b49e7e2734 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * doc: fix bundle.resources property typeIvan Komissarov2020-12-071-1/+1
| | | | | | | | | | Change-Id: I5458b20c4105497b8f647a43299c3e727172577b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Make `cpp.toolchainInstallPath` property as public for toolchainsDenis Shienkov2020-12-021-0/+8
| | | | | | | | | | | | | | | | This property re-declared in each of toolchain modules. So, it makes sense to declare this property once in a base CppModule. Change-Id: I1df76b288660d4b999c918a0019a01825ee0890a Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Merge branch '1.18' into masterRichard Weickelt2020-11-282-2/+2
|\| | | | | | | Change-Id: If77ea1a92f64a4b6910c4755aa03dd96ec5078fb
| * Doc: Fix type of installDebugInformation propertiesJochen Ulrich2020-11-192-2/+2
| | | | | | | | | | Change-Id: I5c3a7898b61f8892a2de4414de64f40e5f9f537b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Doc: add example of cpp.linkerVariantMitch Curtis2020-11-031-1/+14
|/ | | | | | | | | It's not available for Windows, so users will need to know how to conditionally assign it a value. Change-Id: I9c451a70bfa184cee3f3d497c26799d959dd2c96 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Merge branch '1.17'Ivan Komissarov2020-10-261-0/+16
|\ | | | | | | Change-Id: Ifcd65b201f060506d53dcffc0031d186a6dc227e
| * Android: Update for Qt 5.15Raphaël Cotty2020-10-211-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | Use java.additionalClassPaths property to allow compilation of binding classes because starting with Qt 5.15 they depend on QtAndroid.jar Update AndroidManifest.xml with uses-sdk node using new properties Android.sdk.minVersion and Android.sdk.targetVersion because Qt 5.15 uses androiddeployqt to set it. Fixes: QBS-1580 Change-Id: I2fa5e77bb183be1b55e9dd9756fb7b6eb1f3c9d4 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | capnp: Make outputDir variable publicIvan Komissarov2020-10-261-0/+10
| | | | | | | | | | | | | | To be consistent with protobuf Change-Id: Ib31956797f7b1ebcf37ab511dee502436900d899 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Fix documentation warningsRichard Weickelt2020-10-25119-125/+0
| | | | | | | | | | | | | | | | | | | | | | The \contentspage command is obsolet without replacement. It has not been working since Qt5.2. The link to the Qt resource system does not work locally and should point to the online page instead. Change-Id: Ib065cfd26c90b60d3cd3d72820b16c6601e80ad4 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Make protobuf.*.outputDir public againKai Dohmen2020-09-242-0/+30
| | | | | | | | | | | | | | | | | | | | Make protobuf outputDir public again for usage with installSourceBase when creating/installing a separate proto-only library product. Make outputDir readonly since it should not be set by the user. Changed artifacts tag hpp to protobuf.hpp for better filtering. Change-Id: I8697e880aacfe4d3029fd6f547a5d8c1eee7ee7e Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | Introduce an "exportingProduct" variableChristian Kandeler2020-08-241-6/+6
|/ | | | | | | | | | | | | | | | | ... for use in Export items. It's not obvious that "product" refers to the exporting product, and in fact setting it up this way pollutes the scope for modules loaded via Export items. Therefore, we introduce exportingProduct for symmetry with importingProduct. [ChangeLog] Deprecate the product variable inside Export items in favor of the new exportingProduct variable. Task-number: QBS-1576 Change-Id: Ie91752d1ae2160cb7701ae0167bccde0cd5c0e5d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Tune search order of path probesIvan Komissarov2020-08-131-4/+5
| | | | | | | | | | | | | | | | | | | | Within the groups of user-provided and system-provided paths, environment variables need to take precedence over properties, because there is currently no other way to override the search paths of probes from the outside if the probe-using code did not explicitly bind them to Product/Module properties. We search directly user-provided paths before ones from system-provided environment variables to minimize the risk of surprises due to outside influence. [ChangeLog][Behavior Changes] The lookup order in PathProbe changed to [environmentPaths, searchPaths, platformEnvironmentPaths, platformSearchPaths] Change-Id: Ib0c3bc44e5a8efaaaa073f28f1f3a53feb0f78db Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Implement cpp.generateCompilerListingFiles for MSVC toolchainDenis Shienkov2020-08-121-3/+1
| | | | | | | | | | We need to use the /Fa compiler option as described here: * https://docs.microsoft.com/en-us/cpp/build/reference/fa-fa-listing-file?view=vs-2019 Change-Id: I81470bfbf84563a49bd5336e7204a07d5b2c910e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Introduce new 'none' choosing for qbs.targetPlatformDenis Shienkov2020-08-041-0/+5
| | | | | | | | | | | | | | | | | This 'none' value should be used for a bare-metal toolchains in the qbs.targetPlatform and the qbs.targetOS properties. Now this value is set in the profiles during automatic detection of such toolchains as IAR, KEIL and SDCC. Take into account, that it is impossible to do the same and for the GCC toolchain, because there are not exists a proper way to know that a current GCC is for a 'bare-metal'. So, the users should change the qbs.targetPlatform manually. Change-Id: I178fd526bbb5ae44f18e35ff12970ed0718c476d Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Document more cpp module propertiesIvan Komissarov2020-07-311-0/+122
| | | | | | Fixes: QBS-1304 Change-Id: Ie7d2c4827119dbdc6c807c56912431fb3111f712 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: add links to "Custom Modules and Items" page from qbsSearchPathsIvan Komissarov2020-07-292-2/+8
| | | | | | Fixes: QBS-1575 Change-Id: Ib0f5c4a28cbeca5993ae9490f2d5f34dd355f05b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add support for Cap'n Proto for the c++ languageIvan Komissarov2020-07-211-0/+116
| | | | | | | | | | | Cap'n Proto is a 'cerialization protocol' similar to protobuf: https://capnproto.org/index.html This patch mainly focuses on the c++ support for the capnp protocol keeping in mind the possibility to add other languages later. Change-Id: Ib19a9df1f45f2787503197791ac597d06cc45e9d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: fix the default value for the qbs.targetPlatform propertyIvan Komissarov2020-07-151-1/+1
| | | | | | Change-Id: I013c19555af224e2f2ac39af37c63c8869109243 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add How-To about cpp.rpathsIvan Komissarov2020-07-151-0/+4
| | | | | | Task-number: QBS-1204 Change-Id: I2d04ccb0cbcd7c1a6b5a5f251e70d34b3a960da7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* protobuf: Rename protocBinary property to compilerPathIvan Komissarov2020-07-032-9/+33
| | | | | | | | For consistency with the cpp module Change-Id: I16b9facc1c5befa6b8860dc1a51f8302ffac7a4d Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Android: Add support to generation of aab packageRaphaël Cotty2020-06-252-2/+12
| | | | | | | | | This patch adds the Android.sdk packageType property which sets the target application. By default (previous behavior) qbs generates an apk package. When set to aab, qbs generates instead an aab package Change-Id: Ic09776d08e2a2ecd68fb4c08881201a7a0a25240 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* 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>