summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/1.1'Joerg Bornemann2013-11-141-1/+19
|\ | | | | | | Change-Id: I7475c4a71c15c83c59400c44ef96d73d15caea58
| * Docs: fix cpp.compilerPath descriptionJoerg Bornemann2013-11-131-1/+1
| | | | | | | | | | Change-Id: If3bda04c2bb5fe77bcc0160354387ef538d40537 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
| * introduce cpp.linkerName and cpp.linkerPathJoerg Bornemann2013-11-131-0/+18
| | | | | | | | | | | | | | Like the compilerName/Path, the linker must be configurable. Change-Id: I50f9511dedbff29dbf55b41b96e213f238be187f Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* | Doc: Use the \QBS macro for the product nameLeena Miettinen2013-11-1111-54/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that the name is always written in the same way and makes it easy to change, as only the value of the macro needs to be changed. Removed the product name from most titles as macros cannot be used in titles. It would break linking to titles. Please always use the macro in the future. Change-Id: I116abffc316edbb861034f5e431ca8e27b5a5d03 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Allow lists of patterns in the FileTagger item.Christian Kandeler2013-11-112-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | Rationale: It is not uncommon that the same tag is associated with more than one file pattern; more common, in fact, than the other way around. It therefore seems silly to force module authors to create one FileTagger item per file extension. For semantic consistency, the "pattern" property gets renamed to "patterns". The old name is still supported in this minor version. Change-Id: Ia7f744b0903462517582fcb549e2dab004c81dd5 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Merge remote-tracking branch 'origin/1.1'Joerg Bornemann2013-11-111-0/+2
|\ \ | |/ | | | | Change-Id: I597280483f7477856152f434249d8ee830d5ea40
| * Docs: explain default of cpp.positionIndependentCodeJoerg Bornemann2013-11-071-0/+2
| | | | | | | | | | | | Change-Id: I13e0f55726e8ae1bf05d45534f9d0f4dddc44d01 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* | Rename getenv and putenv to getEnv and putEnv, respectively.Christian Kandeler2013-11-072-3/+3
| | | | | | | | | | | | | | | | We use camel case everywhere else. Change-Id: I8a67f1d44659d59e612c0eaced0628c6d34d5b47 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Merge branch '1.1' into 'master'.Christian Kandeler2013-11-0613-11/+353
|\ \ | |/ | | | | Change-Id: Ia6cb10047d02ebe2752984f57e8b729be9d6552e
| * Doc: document the remaining language items and their properties.Jake Petroules2013-11-0412-10/+295
| | | | | | | | | | | | | | Task-number: QBS-203 Change-Id: I1f0bd6b3861e3887a21088f0dea4d24b83c0736e Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
| * Add documentation for "global" built-in functions.Christian Kandeler2013-11-011-0/+57
| | | | | | | | | | | | Change-Id: Iba2a19d182da70b761f33532d47b0c43dfbf6ae5 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
| * Rename "qbsPath" preference setting to "qbsSearchPaths".Christian Kandeler2013-10-311-1/+1
| | | | | | | | | | | | | | | | | | The old name is grammatically incorrect and also not descriptive enough. The new one is also consistent with the project and product properties that amend the respective setting. Change-Id: I7be6b3d986fdb1f232623bf9b471ab21e04ed9f2 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Improve the way that the NSIS installation is found.Jake Petroules2013-11-041-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | Now that we have registry access, we search the registry for the known key and then determine the NSIS installation path and version number from that. The latter is now available as a set of properties. This searching code is also now not broken for 32-bit Windows... Task-number: QBS-414 Change-Id: I93a0e35084d11b3b0664bfa67bea29eb72a96380 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Improve the way that the WiX installation is found.Jake Petroules2013-11-041-2/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have registry access, we search the registry for the key corresponding to the latest known WiX version, then determine the WiX installation path and version number from that. The latter is now available as a set of properties. This searching code is also now not broken for 32-bit Windows... Task-number: QBS-413 Change-Id: I2fae8164b4aa073c1b0b980f110af38a1c4ddc66 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Add a hostOSVersion property, defined for Windows and OS X.Jake Petroules2013-11-041-0/+51
| | | | | | | | | | | | Change-Id: I04da329f17c54f010fd467841f305d6ab7e922f0 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Don't use the term "Burn" in the WiX module.Jake Petroules2013-11-041-3/+3
| | | | | | | | | | | | | | | | | | | | What WiX happens to calls its various internal parts is irrelevant to users; using more well understood terminology now. Task-number: QBS-413 Change-Id: Iba2359d92d36b0a2e8a78b75d9bed7fec4d728d1 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Merge remote-tracking branch 'origin/1.1'Oswald Buddenhagen2013-10-304-16/+69
|\ \ | |/
| * 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 an example to the Rule documentation.Christian Kandeler2013-10-221-0/+44
| | | | | | | | | | | | | | Makes it less abstract. Change-Id: I1ba0636afd5454ad58099e7be868f2968d338f74 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
| * Improve the documentation on building Qbs.Jake Petroules2013-10-211-7/+16
| | | | | | | | | | | | | | | | Now lists the recognized qmake CONFIG options. Change-Id: I183f97624566870e6b4d59d0c9e7f4fcb266e54f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
| * fix incorrect includePaths evaluation demo in documentation of properties.qdocYonggang Luo2013-10-181-2/+2
| | | | | | | | | | Change-Id: I27273491d8d5d70b7260eed0552c32257d7e84f2 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Add support for building NSIS setup packages.Jake Petroules2013-10-231-0/+149
| | | | | | | | | | | | | | | | | | | | Task-number: QBS-16 Task-number: QBS-414 Change-Id: I79eae2a04a238c00e89cdd368230a3a60fedccb7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Add support for building MSI and EXE installers with WiX.Jake Petroules2013-10-211-0/+228
|/ | | | | | | | Task-number: QBS-16 Change-Id: I16a520863991a5d85ed7cb753ce3d95fb33b5c01 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Docs: fix documentation of cpp.warningLevelJoerg Bornemann2013-10-151-2/+2
| | | | | | | Task-number: QBS-401 Change-Id: Ic7d3c652a1a42501eba1a156a109bb07610d2702 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Christian Kandeler <christian.kandeler@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>
* introduce Module.validateJoerg Bornemann2013-10-101-0/+6
| | | | | | | | This property can be used to validate the property values of a module. Task-number: QBS-319 Change-Id: I3d50c95cca16c5f0ad356fca02a0588679444cc9 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Doc: add rudimentary Module item referenceJoerg Bornemann2013-10-103-2/+72
| | | | | Change-Id: I763486128efbc6e49e3bdb4d563444cee0851ffc Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Fix documentation for Transformer item.Christian Kandeler2013-10-091-0/+1
| | | | | | | | In the code example, we go against our own advice by not closing the file explicitly. Change-Id: Ie5995d8ca99f636db822c18d93813cafaaf9f77e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce new project/product property "qbsSearchPaths".Christian Kandeler2013-10-092-10/+8
| | | | | | | | | This extends preferences.qbsPath and allows to use project-specific imports. It also deprecates the "moduleSearchPaths" property, which becomes redundant now. Change-Id: I66ff8aa57f6b2657211e3f4541909b2572c6d613 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Support changing the working directory in the Process JS extension.Jake Petroules2013-10-091-0/+13
| | | | | | | | Task-number: QBS-385 Change-Id: I3f26460051103117d493d08eaf9f30e7d5ff499b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* introduce cpp.supportedStaticLibrarySuffixesJoerg Bornemann2013-10-011-0/+11
| | | | | | | | | | The MinGW linker supports .a and .lib files as input. Therefore we need to maintain a list of supported lib suffixes. Task-number: QBS-376 Change-Id: I2e9c3b424478a9bcf1a06df6e532517b31da0bef Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* A couple of small documentation improvements.Christian Kandeler2013-09-271-35/+35
| | | | | | | Remove outdated information, fix typos, add formatting etc. Change-Id: I98cdab3e39d719bdab5086640bb9f657eb2703f8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Doc: edited JavaScript extensions docsLeena Miettinen2013-09-264-27/+33
| | | | | | | Fixed grammar and style issues and typos. Change-Id: Ic80bd3f9fb96047d390ff0cdcbc382a4939a9892 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* fix calling of prepare script functionJoerg Bornemann2013-09-241-0/+4
| | | | | | | | | The scope that contains inputs, outputs and friends was bound to the function object, which is wrong when applying the function later on. Instead, we're passing those variables as function arguments now. Change-Id: I7ad7b6a742091fae889ed57b7c9cbceea4a2ead2 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Fix some documentation bugs.Christian Kandeler2013-09-242-8/+8
| | | | | | | | | | | - It's FileInfo.{to,from}WindowsSeparator*s* (plural), of course. - It is plain wrong that the "inputs" and "outputs" variables are mutually exclusive with "input" and "output", respectively, and it would not make sense either. Change-Id: I00c6eca9a6207cb50d5258834e4dfdc7a4345c8e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add support for C, Objective-C and Objective-C++ precompiled headers.Jake Petroules2013-09-191-3/+47
| | | | | | | Task-number: QBS-278 Change-Id: I2999a64168f70aff21007e55d52314433425e84e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Improvements to the "Process" extension.Christian Kandeler2013-09-191-0/+13
| | | | | | | | | | | | - Make waitForFinished() return true also if the process is not running at the time the function is called. - Make exec() return -1 for a non-normal exit status; QProcess::exitCode() is not guaranteed to return a non-zero value in such a case. - Introduce terminate() and kill() functions. Change-Id: I130f6e31579c2e316a3534cd738deee848363a1d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Document JavaScript extensions.Christian Kandeler2013-09-195-1/+439
| | | | | Change-Id: I093f753285af2e9a9d6f3b521e23f8c24b8ac3cf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix files list in documentation product.Christian Kandeler2013-09-191-1/+1
| | | | | | | The wildcard was wrong. Change-Id: I290b48f7eb5f1ce26096a71026a688b3d63002ef Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Restructure the reference part of the documentation.Christian Kandeler2013-09-1915-704/+794
| | | | | | | | | | It does not scale to repeat the whole contents of the reference manually in several tables of contents. Instead, make it opaque at the top-level and use the \group feature to get at least an automatic table of contents for the lowest level (items and modules at the moment). Change-Id: I80a3334a43f62481f74c21ad9d68e913c8b3098a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Transformer.explicitlyDependsOn addedJoerg Bornemann2013-09-181-0/+6
| | | | | Change-Id: If4f695878087f0cd72d85e497d918c4f70e42001 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* introduce Rule.auxiliaryInputsJoerg Bornemann2013-07-311-0/+8
| | | | | | | | | | This eliminates the need of putting "hpp" into Module.additionalProductFileTags to produce ui_XXX.h files. Instead, we're making all hpp producing rules dependent on the compiler rule. Change-Id: I345cb3bee20d8080e40ca678d4db822ccd1af92e Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Rename Windows RT to WinRT. These terms have different meanings.Jake Petroules2013-07-251-1/+1
| | | | | | | In this context, we mean the Windows Runtime, not Windows on ARM. Change-Id: Iac76cb193b3b8040802105d8336282b8ee8f95e5 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* introduce cpp.compilerWrapperJoerg Bornemann2013-07-021-0/+10
| | | | | | | Task-number: QBS-312 Change-Id: I516443a16d2d485f31bcfc1d646e9b38044a47b6 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Prepare qbs project files for selective inclusion.Christian Kandeler2013-07-021-2/+3
| | | | | | | | | | | | Namely: - Move product "share" into its own file. - Move version number definition into its own file. This will make it easier to pull in only parts of the sources in an aggregating project (e.g. an IDE that does not need the executables). Change-Id: I41b724fe8a0b20d957b924fe0a827263add43dce Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Re-introduce property qbs.installPrefix.Christian Kandeler2013-06-281-1/+11
| | | | | | | | | This property used to exist and was erroneously removed when the "install root" parameter was introduced. The author has now learned that "install prefix" and "install root" are actually orthogonal concepts. Change-Id: I8f704c92d09817063b82a175693899af9adc9bac Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add support for setting the compiler character set.Jake Petroules2013-06-261-0/+12
| | | | | | Task-number: QBS-332 Change-Id: I7dda39be44c307071225c47de7141aec3e259f01 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Implement support for prefix headers (Xcode) / forced includes (MSVC).Jake Petroules2013-06-241-0/+9
| | | | | | | Task-number: QBS-313 Change-Id: Idc66a671a9c634ef142887fb374d99da3ba96bb1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Use "stringList" in the documentation as it's an actual data type now.Jake Petroules2013-06-204-24/+24
| | | | | Change-Id: I689223c4f49bd9378c328ba50653e4df7097b8eb Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Update processInfoPlist docs to reflect reality.Jake Petroules2013-06-191-1/+1
| | | | | | | | The functionality in question was implemented by 4d3373d04abbccb7fc5bb743eaf75b9c9199313c. Change-Id: I5b475bd34222674b10637ec9498df6088bc76908 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>