summaryrefslogtreecommitdiff
path: root/qbs/imports/QtcAutotest.qbs
Commit message (Collapse)AuthorAgeFilesLines
* Synchronize autotest defines in qmake and qbs buildJoerg Bornemann2018-03-191-3/+1
| | | | | | | | | | | Do not remove QT_USE_FAST_OPERATOR_PLUS and QT_USE_FAST_CONCATENATION in QtcAutotest, but in the two tests that won't build with it. In the qmake build the defines are not removed from json.pro, because this file does not include qttest.pri. Change-Id: I97d173528ca2a02bac1bfae30709a959e6b69375 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* qbs build: Add missing definesChristian Kandeler2017-10-181-1/+5
| | | | | | | | The string concatenation macros were not set, as opposed to the qmake build. Change-Id: I32e2c72c891419ef8352cb7b46e3b7f9b82b6312 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Fix deployment target on macOSJake Petroules2017-06-121-1/+0
| | | | | | | | According to the README, the minimum version is 10.8, but the code did not reflect that reality. Change-Id: I2bbaeefe614cba5b5fa8413b68202bb75f346d70 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* qbs build: Fix the names of some Qt modules in Depends itemsChristian Kandeler2016-11-101-1/+1
| | | | | | | | It's "testlib", not "test". And "designercomponents" is actually a private module. Change-Id: I1a14d107bb5568b4f3807558ec6ed11937ac816a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix qbs build on macOSChristian Kandeler2016-07-281-1/+1
| | | | | | | "osx" -> "macos" Change-Id: Ie25e096b2759cf8f96411560fcca337169d80b08 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* qbs build: Introduce new module "qtc".Christian Kandeler2016-06-081-4/+4
| | | | | | | | | The qtc module gathers properties that used to live in the top-level project file. This is the first step towards making it possible to build plugins against an installed Qt Creator ("out of source build"). Change-Id: Ia1514cc9c888e80be01b308e908de48980fcbdb8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix autotests build.Christian Kandeler2016-03-221-1/+1
| | | | | Change-Id: I5b0ea5df0a7321c6938146a5a03b089c837ff642 Reviewed-by: hjk <hjk@theqtcompany.com>
* Qbs: Adapt rpath handling to how it is normally implemented on OS X.Jake Petroules2015-08-211-2/+1
| | | | | | | | | | | | | | | | | When using rpaths on OS X, the install name prefix should always be set to "@rpath" and the rpaths should be appropriately set to the locations in which that binary looks for its dependencies. While this change is behaviorally identical, it brings the project setup in line with how developers expect these properties to be set, and thus reduces confusion. As an aside, it now correctly follows the principle of relocatability (install name prefixes like @rpath/Frameworks are only partially relocatable as opposed to @rpath alone which is fully relocatable). Change-Id: I7b5cc7a316d2608037ea9ab087029baa85aee2ba Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* qbs build: Make use of AutotestRunner.Christian Kandeler2014-12-191-1/+1
| | | | | | | And fix some autotest project file problems uncovered by this. Change-Id: Id2f46aeab31ccfbcffe43bd23af8115c69f57849 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* qbs build: Remove unneeded import statements.Christian Kandeler2014-11-101-1/+0
| | | | | | | The respective items are available without it. Change-Id: Idc840cf08e7bec84f561c096afe8de25b1fb8468 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* qbs build: Get rid of CopyTransformer.Christian Kandeler2014-07-171-0/+1
| | | | | | | | | | That item was using a directory as an output artifact, which was only working by accident and often caused warning messages about failure to remove files. Use a proper module instead, which is the nicer solution anyway. Change-Id: Ib75a0ce26a24c78eb5421367995a8fc72f6a3c2a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Autotests: Fix qbs build.Christian Kandeler2014-07-161-4/+4
| | | | | | | The semantic change in product.buildDirectory broke some autotests. Change-Id: Ic9336f1e9341adacd1daa763b7ba729d7973fe58 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Autotests: Fix qbs build.Christian Kandeler2014-05-221-0/+1
| | | | | | | | We accidentally added QT_NO_CAST_FROM_ASCII to the compiler command line in the last patch. Change-Id: I503d5b328d2ffb9812cd8cf79b5d52c8a76f07df Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* qbs build: Introduce item QtcProduct.Christian Kandeler2014-05-211-13/+11
| | | | | | | | | QtcAutotest, QtcLibrary, QtcPlugin and QtcTool share quite a bit of code, which is now factored out into this new item from which they all derive. Change-Id: Ic947a19e121f37d34968b29c94dd02648da1cd5b Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* qbs build: set minimum OS X version for autotestsJoerg Bornemann2014-05-211-0/+1
| | | | | Change-Id: I5ef9956f78da4096d25851951551dca633471fc0 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Nuke plugins PROVIDER settingsOrgad Shaneh2014-05-081-2/+2
| | | | | | | | Place all plugins in lib/qtcreator/plugins Change-Id: I66606910104b28d91038f5607850ce03bdd1b80f Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix qbs build with clang.Christian Kandeler2014-05-081-0/+1
| | | | | | | Properties item considered harmful. Change-Id: I715b589bdcb6ef9ac35790122a1ba6f009652242 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* qbs build: Make the autotest template available as an import.Christian Kandeler2014-05-081-0/+33
Just like for QtcPlugin, QtcLibrary etc. Change-Id: I395f5863f31abba589864be3ad41ad7fc893787f Reviewed-by: Jake Petroules <jake.petroules@petroules.com>