aboutsummaryrefslogtreecommitdiffstats
path: root/doc/howtos.qdoc
Commit message (Collapse)AuthorAgeFilesLines
* Add how-to about ccacheKai Koehne2019-09-161-1/+23
| | | | | | | Task-number: QBS-1325 Change-Id: Ice2e5f16b453b9bde8d2a90918eb593db81bff97 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Richard Weickelt <richard@weickelt.de>
* Introduce module providersChristian Kandeler2019-01-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | If a dependency is not found, we now search for a matching module provider that can generate one for us. We also provide a generic fall-back provider which uses pkg-config to locate the dependency (but could be extended to incorporate other methods in the future). This is the most important part of this change for practical purposes, as it makes hundreds of popular libraries available for use in qbs projects without users having to write any boilerplate code. In a future patch, a module provider could also be used to implement the functionality of the qtprofilesetup library, relieving users of the need to create a profile for building Qt applications. [ChangeLog] The Depends item now falls back to pkg-config to locate dependencies whose names do not correspond to a qbs module. Fixes: QBS-1107 Change-Id: Ifd4f05c237cf58cd9fe707c3da648d3dbb33e82b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: add section on dynamic and statically-built Qt projectsMitch Curtis2018-10-261-0/+15
| | | | | | | | It's currently not documented how to have a library that can be both dynamically and statically linked to an application. Change-Id: Ic9130ccb7f8b476d6d91231e4eacef2caadcf1d1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Documentation: Fix file tag in QML how-toChristian Kandeler2018-10-251-1/+1
| | | | | Change-Id: Ib9c62947e79b2e828587e5b7c75a0585caba1273 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Document how to add QML files to a projectMitch Curtis2018-10-041-0/+24
| | | | | | Task-number: QBS-1390 Change-Id: Id339d9d2041ca035607ee970e421c21f40424987 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add support for job poolsChristian Kandeler2018-08-081-0/+49
| | | | | | | | | | | | | | | | | | | | | | Commands can now be assigned to an arbitrary job pool and a limit for the number of concurrently running jobs in such pools can be provided in a number of ways: - via the build command line: qbs --job-limits linker:1 - via the settings: qbs config preferences.jobLimit.linker 1 - in a project file: JobLimit { jobPool: "linker"; jobCount: 1 } We provide two job pools ourselves with the cpp module: "compiler" and "linker". [ChangeLog] Added the concept of job pools for limiting concurrent execution of commands by type Task-number: QBS-743 Change-Id: Ib3f361dbc73093e342bf0eba0daf2079a2b3a8ce Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Documentation: Add How-to about "generated sources"Christian Kandeler2018-07-301-0/+37
| | | | | | | | We've seen people try to add generated C++ source files to a files property, so let's make clear how it actually works. Change-Id: I8a7dd8b1af71662efbeb72a3780775f5a6ca38d6 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Get rid of the need for "import qbs"Joerg Bornemann2018-06-221-8/+0
| | | | | | | | | | | | It is difficult to place why the "import qbs" statement is needed. What it does is providing the default imports like CppApplication. There's no advantage in having a project file without this base import, so we always import "qbs" implicitly now. [ChangeLog] Removed the need to add "import qbs" to project files. Change-Id: I5954fbbade361188d1d54815cc3bf806fb461e9d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Fix a typoLeena Miettinen2018-05-301-1/+1
| | | | | Change-Id: I143997ecbda03a290307d62c30adbca1527f7e0a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add how-to for running autotestsChristian Kandeler2018-05-291-0/+31
| | | | | Change-Id: I438c6e754ea03a53306cc7d55debcc6574d2c2f9 Reviewed-by: Joerg Bornemann <joerg.bornemann@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: Add some links to commands and propertiesLeena Miettinen2017-12-221-9/+10
| | | | | | | Usually, replace the \c command with the \l command. Change-Id: I062e9a3f34874e832c972773b88d58225e1621b0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Use QML commands to document modulesLeena Miettinen2017-12-211-8/+10
| | | | | | Task-number: QBS-1245 Change-Id: I996bb44a1db9aae71ef42bca87265371de951272 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Use QDoc QML commands to document Qbs language itemsLeena Miettinen2017-11-301-7/+7
| | | | | | Task-number: QBS-1245 Change-Id: I470a629312b1c65ea9e51c603607c486115a304c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Docs: Add a how-to for accessing the repository stateChristian Kandeler2017-11-011-0/+25
| | | | | Change-Id: I8d5c6792fcd63b47260bfe0e28f06cfb8be57306 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: How to apply C/C++ preprocessor macros to a subset of product filesLeena Miettinen2017-10-051-0/+45
| | | | | Change-Id: I0b78fbd42521af825ff39a5d7ed6aa6c1a1a7a70 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Add a how-to for creating modules for 3rd party librariesLeena Miettinen2017-10-051-0/+56
| | | | | | | Task-number: QBS-1191 Change-Id: I63199bc85bed43841e97908fcff0268211ba86c0 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add a how-to about creating app bundles and frameworks on Apple OSesJake Petroules2017-06-141-0/+49
| | | | | | Task-number: QBS-1148 Change-Id: I3bc2b05fb9812606c01d2067b6b778583578f34a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Documentation: Fix intendationChristian Kandeler2017-06-061-3/+3
| | | | | Change-Id: Iacd91cbbdf06d9264120c13d110753fc17b7461e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Documentation: Add "How-to" pageChristian Kandeler2017-06-061-0/+105
This fills a void in our documentation: Concrete, hands-on advice that is easily located. New items should be added based on feedback from our users. [ChangeLog] Added "How-to" section to documentation Change-Id: If959c9d979e18d44f6ef42810a8b0280bce64bda Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>