aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix Cocoa examplesJake Petroules2016-12-123-4/+13
| | | | | | | | cpp.precompiledHeader no longer exists, and the iOS app was missing from the examples qbs file. Change-Id: I2e5f662fb28f6fcd0e4554866eb8828ca1be08ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update license headersIikka Eklund2016-08-2912-98/+393
| | | | | | | | | | Patch-set 2 includes *.cpp *.c Every source file needs to have up-to-date license headers in order to pass ci. Change-Id: Ie6e493097af6f7dd6a8adff170eb856f496e689e Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Update license headersIikka Eklund2016-08-299-66/+271
| | | | | | | | | | Patch-set 1 includes *.h Every source file needs to have up-to-date license headers in order to pass ci. Change-Id: Ib6cf3ac47dfba6dff262fded44bc952aef3bda8b Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Merge 1.5 into 1.6Jake Petroules2016-06-281-1/+1
|\ | | | | | | Change-Id: If1a2c368170d89d5e6e11b08a32b37901d51eb1d
| * Do the OS X to macOS rename.v1.5.2Jake Petroules2016-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ChangeLog] The "osx" value in qbs.hostOS and qbs.targetOS has been replaced with "macos". For backwards compatibility, qbs.hostOS will still contain "osx" in addition to "macos", and an error will be printed if qbs.targetOS contains "osx" but not "macos". Specifying "macos" without "osx" is allowed. These checks are subject to be removed in a future version of qbs, so update your hostOS and targetOS checks accordingly. [ChangeLog] cpp.minimumOsxVersion has been deprecated and replaced with cpp.minimumMacosVersion. cpp.minimumOsxVersion is subject to be removed in a future version of qbs, so update your projects accordingly. Change-Id: I479891829dff6eb6750cb2a04e1395f085896f63 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* | Merge remote-tracking branch 'origin/1.5'Joerg Bornemann2016-06-0833-33/+33
|\| | | | | | | | | | | | | | | Conflicts: doc/reference/items/transformer.qdoc share/qbs/modules/cpp/GenericGCC.qbs Change-Id: I45560834560019b18274c373c45651eb8aadd206
| * Replace 'the Qt build suite' with 'Qbs' in copyright notices.Jake Petroules2016-06-0633-33/+33
| | | | | | | | | | | | Change-Id: I885d94bb14b325dc36767a840ebdb0be1fb59dd2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Use Qt5-style connectsOrgad Shaneh2016-06-071-1/+1
| | | | | | | | | | | | | | The heavy lifting was done by clazy. Change-Id: Ibb13c517567b1b32bbda6d26225454d1b003934d Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | Remove items scheduled for removal in 1.6.Jake Petroules2016-04-222-8/+2
|/ | | | | Change-Id: I4098b281ab9c1f5bc29fe23164dd3a3303759ce0 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Deprecate bundle.infoPlistFile and start tagging Info.plist files.Jake Petroules2015-11-023-2/+6
| | | | | | | | This ensures that artifacts will be appropriately rebuilt if the product's Info.plist file changes, which is currently ignored. Change-Id: I3adf7e74bd32f3bb8d3084061dd2793aa02b932c Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Merge branch 1.4 into master.Christian Kandeler2015-10-261-4/+3
|\ | | | | | | Change-Id: I45ee8897a07522c51833739afc8de374ec269e08
| * fix examples/code-generatorJoerg Bornemann2015-09-111-4/+3
| | | | | | | | | | | | | | This example did nothing since commit c91dcd35. Change-Id: I7aa440272b2499e26bc947e9b973682a82ca2b75 Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
* | Use org.example instead of com.petroules in Info.plists.Jake Petroules2015-09-222-2/+2
|/ | | | | | | | This makes sure the Qbs and Xcode builds will generate the same CFBundleIdentifier, which will be important for code signing. Change-Id: Ic877e98b89d50f996e9a603791fa16646ca0f7d3 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Don't advertise using relative paths in export items.Christian Kandeler2015-07-281-1/+1
| | | | | | | | While we do support this for compatibility reasons, let's not encourage it. Change-Id: I4856b021b2e309e35974af68fe4dc10954d3d451 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Fix installed bundle example to work well on Windows.Jake Petroules2015-05-043-4/+9
| | | | | Change-Id: I382a6a91f41dab1dc9ff8769c4875b6d2f050520 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Add an example demonstrating how to properly install bundle products.Jake Petroules2015-05-045-0/+73
| | | | | Change-Id: Iee310389b2c64f5c2b1df1ad59f3260a2fa294f6 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* update license headersJoerg Bornemann2015-03-021-3/+3
| | | | | Change-Id: I36d825db3a5ef32c162c3063aab1e8a1f2696f4f Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Merge branch '1.3' into 'master'Christian Kandeler2015-01-2832-149/+149
|\ | | | | | | | | | | | | | | | | Conflicts: doc/reference/jsextensions/jsextensions-general.qdoc src/lib/corelib/language/evaluatorscriptclass.cpp src/lib/corelib/language/evaluatorscriptclass.h Change-Id: Ic9b77b56e8fc8bf93e0a553930757de8c93fed22
| * Update LicenseEike Ziller2015-01-2632-149/+149
| | | | | | | | | | Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | Refactor bundle (CFBundle) support across all of Qbs.Jake Petroules2015-01-134-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the foundation for better bundle support, including static frameworks, loadable modules ("bundles" i.e. plugins), and custom bundle types. This also simplifies the difference between bundle and non-bundle product types from a Qbs user's perspective, and allows more fine-grained control over the construction of and use of bundles. This patch also implicitly adds support for static frameworks. Task-number: QBS-643 Task-number: QBS-642 Change-Id: I65d8d7040603a6ea0ff2c11360234eba6802ad35 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | use standard pattern for exporting "." include pathsJoerg Bornemann2015-01-121-1/+1
| | | | | | | | | | | | | | The magic path variable is not needed here. Change-Id: Ie0fcd2b3310cbc36375df5c96bd490a6db5dba43 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | Improve the "app and lib" example.Christian Kandeler2015-01-073-3/+16
| | | | | | | | | | | | | | | | Make it more realistic by giving the library a header file, so the example can demonstrate how to export an include path. Change-Id: I4b55af8b86ef4fa0cddc3f29cefc5054e82c88cf Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | fix code-generator example for OS XJoerg Bornemann2014-12-031-2/+6
| | | | | | | | | | Change-Id: Idabbb14777cae50854d8cf3db9894fdff6bc095a Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | add code generator exampleJoerg Bornemann2014-12-023-0/+86
|/ | | | | Change-Id: I78c2aec4466499871bc03b7ca35a38086a1fb548 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* License update.Eike Ziller2014-10-1617-119/+136
| | | | | | | Add LGPLv3 option. Change-Id: I8a63ad5e46a2701032b2103f791df4dec5b707e8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add and make use of convenience item QtGuiApplication.Christian Kandeler2014-07-141-2/+1
| | | | | | | | | | Using this item, building a Qt gui app against a static Qt will work out of the box. Also add the less useful QtApplication for completeness. Change-Id: Idca1dbd3085659ebaf563f7df89f73b9daaf7001 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Remove trailing whitespaceOrgad Shaneh2014-05-211-1/+1
| | | | | Change-Id: Id4a8bbc1d7656f3367e43f16fb8ee5a930d78d39 Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* Incremented year in copyright infoRobert Loehning2014-01-0833-35/+35
| | | | | | Change-Id: Ib7f9a00bb891fa39c5bc1f891ddbfba1e4d23227 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Support :rfc1034identifier in Info.plist processing.Jake Petroules2013-12-024-18/+20
| | | | | | | | Example projects have been updated to test it. Task-number: QBS-465 Change-Id: I6e444512132293f7466e5f6372fdae12645c9db1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add iOS equivalent of CocoaApplication example.Jake Petroules2013-11-2219-0/+1847
| | | | | Change-Id: I4f1ad74617d3326001d49e67e1de7e308ab12eff Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix minor issues in the CocoaApplication example.Jake Petroules2013-11-213-2/+6
| | | | | Change-Id: Idd2a49381f013710d72e05d9b1781b47ce70750f Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* BSD-license the examplesJoerg Bornemann2013-11-0614-0/+519
| | | | | | | Task-number: QBS-443 Change-Id: I35e2b3575e17122cfb73aea1559a1ebd68586078 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Clean up manual tests.Christian Kandeler2013-10-316-0/+105
| | | | | | | | | Turn some manual tests that add coverage of a feature into autotests. Turn some manual tests that demonstrate a feature into examples. Remove some manual tests that do neither. Change-Id: Ie54005e1ba5aad07319eb864cc5ad70e26308080 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Install examples.Christian Kandeler2013-10-301-1/+0
| | | | | Change-Id: I5c27ee33bf022784da88dbfc55045621be78c68c Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add examples.Christian Kandeler2013-10-2927-0/+5710
These are mostly former manual tests that seem useful for demonstrating some feature to learners. Change-Id: I06d895ebdee1280699416cf4930a08602951aaf7 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>