aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/modules/qt-modules.qdoc
Commit message (Collapse)AuthorAgeFilesLines
* Document the Qt.quickcontrols2 moduleChristian Kandeler2019-06-141-0/+3
| | | | | | Fixes: QBS-1453 Change-Id: I810eabd5b4175cf2b9de054b306eea29c0748cf9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Detect Qt via a module providerChristian Kandeler2019-02-121-0/+16
| | | | | | | | | | | | | | | | | Creation of qbs modules for Qt is now done on demand during project resolving. The qmake executable(s) are looked up via PATH or taken from the Qt.qmakeFilePaths provider property. As a result, Qt projects can now be built without a profile. The qtprofilesetup library is gone; its code is now in the module provider. I kept the C++ -> JavaScript conversion as straightforward as possible and mostly resisted the temptation to "optimize". The setup-qt tool still exists and mainly sets Qt.qmakeFilePaths. [ChangeLog] It is no longer required to call setup-qt before building Qt projects. Change-Id: I5b7e4711ec47b996911c499f29d8129d90e4731e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Add Qt Quick Test to list of Qt ModulesLeena Miettinen2018-12-121-1/+5
| | | | | | | Fixes: QBS-1120 Change-Id: I788ee0e1d57db02a105966a9d04381c6092bf527 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Fix typoJesus Fernandez2018-06-131-1/+1
| | | | | Change-Id: Ifdcf21c004bae0a2e20a7b5c529466b4a7da8efe Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Use Qt module name without prefix as link text in tableLeena Miettinen2017-12-211-7/+7
| | | | | | | For consistency. Change-Id: I63eec9ad202ee74fde009cdb06060f841057fa93 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Use QML commands to document modulesLeena Miettinen2017-12-211-602/+28
| | | | | | 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-4/+4
| | | | | | Task-number: QBS-1245 Change-Id: I470a629312b1c65ea9e51c603607c486115a304c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add support for the Qt Quick compilerJoerg Bornemann2017-08-031-1/+26
| | | | | | | | | | | | | | | | | | | | | Detect the availability of the Qt Quick compiler in qbs-setup-qt. Add a property bool Qt.quick.compilerAvailable that is true if the Qt Quick compiler is available in this Qt build. If the compiler is available, create an extended Qt.quick module with Qt Quick compiler rules. Create a standard module otherwise. The rules pick up Qt resource files tagged with Qt.quick.qrc and compile the referenced QML files. The remaining files are put into a new QRC file that is then passed to rcc. A prioritized file tagger is provided that automatically tags *.qrc files as "qt.quick.qrc" if the Qt quick compiler is available. [ChangeLog] Added support for the Qt Quick compiler. Task-number: QBS-749 Change-Id: I44e490e09796afeb5455ec50abc1e798f7eaf01a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add support for qmlcachegenJoerg Bornemann2017-07-171-0/+41
| | | | | | | | | | [ChangeLog] Support for qmlcachegen has been added. To enable it in a QML project, set Qt.qml.generateCacheFiles to true. Task-number: QBS-1132 Change-Id: I061eb1afd8994306958376e1cd7f5a98a8f4b03e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Qt.qml: Link against QML plugins when using a static QtChristian Kandeler2017-04-281-1/+41
| | | | | | Task-number: QBS-1121 Change-Id: Id1da9786d4535a350eed72062848c2745cf8a73b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Cpp module: Allow a set of source files to be combined into oneChristian Kandeler2017-02-171-1/+1
| | | | | | | | | | | We introduce file tags and properties to support the concept of "amalgamation builds" for C, C++, Objective-C and Objective-C++. [ChangeLog] Provided the means to easily combine source files for the C language family in order to support "amalgamation builds". Change-Id: Ia3d248203c29418907178b47dba84ca3a18a0857 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Qt: Allow to disable keywordsChristian Kandeler2017-02-071-0/+7
| | | | | | | | | | | | Analogous to the "no_keywords" config variable in qmake. [ChangeLog] Introduced Qt.core.enableKeywords for simple disabling of the "signals", "slots" and "emit" symbols. Change-Id: I4618fdda4ea3cf4533665ec2de1049e7f7c52f54 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Allow moc_*.cpp files to be combined into a single C++ sourceChristian Kandeler2017-01-261-0/+8
| | | | | | | | | | | | Compiling only one such file per product can speed up the build considerably. Users can enable this behavior by setting Qt.core.combineMocOutput. [ChangeLog] Introduced property Qt.core.combineMocOutput. Change-Id: Ib6939a2ab194670303abc57e9b24b6f8d243f0a0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Change the default value and behavior of Qt.core.resourceSourceBaseDenis Klychkov2016-12-021-2/+3
| | | | | | | | | | | | | | | | | | | The default value "undefined" tells the qrc file generator to use only the input file name as a resource alias. The benefits of changing the default value are as follows: 1) It's a bit weird to reset a normal value to undefined in qbs code. 2) This simplifies feature usage for output Artifacts and single files. 3) If one wants to put a hierarchical structure into a qrc file there are a lot of cases in which they have to specify resourceSourceBase manually. 4) When a Group with a wildcard and a prefix is used this makes user's intention a bit clearer. This strongly separates "I want this set of files" from "I want this directory structure". Task-number: QBS-1053 Change-Id: Ib6413643398dca475b4b71ad884202c9e7fb823a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add possibility to specify the base name of the generated qrc fileDenis Klychkov2016-12-021-0/+7
| | | | | | | Task-number: QBS-1043 Change-Id: I5f537f148792b0e2647d08d6e8004d79ae402f07 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Accurate handling of Qt.core.resourcePrefixDenis Klychkov2016-11-281-2/+1
| | | | | | | | | | | Previously the value of this property was taken only from the first input. That value became the only prefix for the whole qrc file. Now every unique value of resourcePrefix generates new <qresource> tag with the corresponding prefix. Change-Id: I2177b3bc38085014c41107225bcb4bd4c51ba58b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Add support for generating qrc filesChristian Kandeler2016-10-281-0/+18
| | | | | | | | [ChangeLog] Added support for generating qrc files. Change-Id: I9c5d703fcb6f8c14606d5abf66e8edfd4959f364 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Add support for the QtScxml moduleChristian Kandeler2016-10-201-0/+52
| | | | | | | [ChangeLog] Added support for QtScxml module. Change-Id: I1ad8d51a3d9532d4a24270e4cc13f26f51620b07 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Update license headersIikka Eklund2016-08-291-17/+14
| | | | | | | | | | Patch-set 3 includes rest of the files. Every source file needs to have up-to-date license headers in order to pass ci. Change-Id: I55ed96910b5cb13513f80eb118feafcdaa32e8b0 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Qt.core: Add property for setting extra plugin metadataChristian Kandeler2016-08-011-0/+10
| | | | | | | Task-number: QBS-998 Change-Id: I8f3999078bc3fec2001b5ffec9b1f51ba9848b56 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Qt.core module: Add property for passing extra options to mocChristian Kandeler2016-07-271-0/+5
| | | | | | | | This is needed sometimes. Task-number: QBS-998 Change-Id: Idd15f79ec8996b4df5311425727e38ea8d6eebae Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Replace 'the Qt build suite' with 'Qbs' in copyright notices.Jake Petroules2016-06-061-1/+1
| | | | | | Change-Id: I885d94bb14b325dc36767a840ebdb0be1fb59dd2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Document the relevant file tags of the Qt modules.Christian Kandeler2016-04-291-33/+157
| | | | | | | Task-number: QBS-934 Change-Id: I57292a883b9b8ea33239a3176bffad4dcd390d85 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* DBus module: Add support for the qdbusxml2cpp tool.Christian Kandeler2016-04-271-0/+25
| | | | | | | | This brings feature parity with qmake regarding the (undocumented) DBUS_ADAPTORS and DBUS_INTERFACES variables. Change-Id: I6c7a2278308e5eb44b4582f33615100def21d84c Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Qt Core module: Make the lrelease rule optionally a multiplex rule.Christian Kandeler2015-11-191-0/+12
| | | | | | | | | | lrelease takes a number of ts files and produces a qm output, so it is technically a multiplex rule. However, normally users have one ts file per language and want a 1:1 mapping. So we need to make this configurable as not to force people to create one product per ts file. Change-Id: I1b14eca6b52fd18a792e1ba26e3fe55db371ae3b Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Use BlackboxOutputArtifactTracker for qdoc.Jake Petroules2015-08-051-5/+0
| | | | | Change-Id: Ie5b2eb70cd371287820dcc180ff3e21682ae062f Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Move the remaining modules to the new documentation format.Jake Petroules2015-06-231-282/+191
| | | | | | Change-Id: I7e18b023bd6292b2b320b6871752b48e5866759f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* update license headersJoerg Bornemann2015-03-021-2/+2
| | | | | Change-Id: I36d825db3a5ef32c162c3063aab1e8a1f2696f4f Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Update LicenseEike Ziller2015-01-261-6/+6
| | | | | Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* complete license header updateJoerg Bornemann2014-10-161-7/+8
| | | | | Change-Id: I2c7ea3242e5ce244e8feee01c0f8a0b0651fa0d4 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Make Qt build variants logic more sensible.v1.3.2Christian Kandeler2014-10-071-7/+20
| | | | | | | | | | We no longer force the Qt build variant to match the build variant of the application linking against it (except for MSVC, where that is required). Change-Id: Ie2c80fbb0d688cdcbab57ad638aaccbbd6988a22 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* introduce Qt.quick.qmlPath propertyJoerg Bornemann2014-05-161-0/+20
| | | | | | Task-number: QBS-578 Change-Id: I116987d3232a832137781d4d5ac90adf4bd7ed88 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* introduce Qt.quick.qmlImportsPath propertyJoerg Bornemann2014-05-161-0/+18
| | | | | | Task-number: QBS-578 Change-Id: I09a4396f48e40f78b665564691a2bc3eebcc77f8 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Allow dependencies on "Qt.test".Christian Kandeler2014-01-171-1/+1
| | | | | | | | That's what we called the "testlib" module until recently, so let's keep supporting that name. Change-Id: I324c9b3add0a8709dba8b84458189727df9cf6d2 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib7f9a00bb891fa39c5bc1f891ddbfba1e4d23227 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix broken links in Qt modules documentation.Christian Kandeler2013-10-301-7/+7
| | | | | | | Change-Id: I57fbbd66e500a8172346acf45f84350c7ebb394c Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add documentation for the Qt modules.Leena Miettinen2013-10-141-0/+433
Change-Id: Ia2264b11412c79e1d53f1d57fba4ead7f0695f83 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> (cherry picked from commit a95c350c1d697f4c5b776e08ba426e6a228cd90c) Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>