summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: follow up fixes for the "Installing files" sectionIvan Komissarov2020-07-271-5/+5
| | | | | | | Amends 0ac5a1467. Change-Id: I4b4a636765a17e1808ca6573e504660525448386 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
* baremetal: Pass 'one-object-asm-application' test for GCC M32RDenis Shienkov2020-07-272-0/+11
| | | | | Change-Id: I20adf87ca1d3937d474904fb39a296113b046025 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass all current tests for GCC M32RDenis Shienkov2020-07-272-0/+10
| | | | | | | We need to disable linking with the standard libraries. Change-Id: I4399a55c0f28d808f421afb17689d56ba3a36f17 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for GCC V850Denis Shienkov2020-07-272-0/+13
| | | | | Change-Id: I9e8ed0892d5144dc01b0c38eb773b3d79ef8950e Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for GCC M68KDenis Shienkov2020-07-272-0/+9
| | | | | Change-Id: I8edac0daba086b900766e69a448809a49fbdab72 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for GCC M32CDenis Shienkov2020-07-272-0/+7
| | | | | Change-Id: I720c9f1b0d667e0b9604014d956c176153c8ddc0 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR M16CDenis Shienkov2020-07-272-0/+8
| | | | | Change-Id: I0883765453fcf998db875110c16102a64d9f6602 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass all current tests for IAR M16CDenis Shienkov2020-07-271-1/+1
| | | | | | | | We need to exclude the '--deprecated_feature_warnings' flag for the IAR M16C compiler, because this flag is not supported. Change-Id: I48fbb99b5aa46f7a48857099d1cd55188e902ee3 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR CR16Denis Shienkov2020-07-272-0/+8
| | | | | Change-Id: I6b396ebd14ff39aaba6b459f47c2b86c2afe1215 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Fix typo in CR16 architecture detection macro for IARDenis Shienkov2020-07-271-1/+1
| | | | | | | This also passes all current tests for IAR CR16. Change-Id: I685526b3f215830cdc0cf77c7e231c451dd4ecdf Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR SHDenis Shienkov2020-07-272-0/+9
| | | | | Change-Id: I1788be0c6359cb7d7668955686e4c5057519b332 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass all current tests for IAR SHDenis Shienkov2020-07-273-1/+22
| | | | | | | | | | We need to exclude the '--deprecated_feature_warnings' flag for the IAR SH compiler, because this flag is not supported. Also we need to set the architecture-specific linker options. Change-Id: I038fe6972aeed9deb8cc3e76308cb1e393a15b8b Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR R32CDenis Shienkov2020-07-262-0/+9
| | | | | Change-Id: I8cb26927c5f2b54d6086031dcf2dee17989ac31c Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass all current tests for IAR R32CDenis Shienkov2020-07-261-1/+1
| | | | | | | | We need to exclude the '--deprecated_feature_warnings' flag for the IAR R32C compiler, because this flag is not supported. Change-Id: I96ba6e177c0ba38c6fda99a89fde5d7664011315 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR AVR32Denis Shienkov2020-07-262-0/+9
| | | | | Change-Id: I89de9c12ee42233aa4a51a48b8905dc3c06e5737 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass all current tests for IAR AVR32Denis Shienkov2020-07-261-4/+6
| | | | | | | | We need to exclude the '--deprecated_feature_warnings' flag for the IAR AVR32 compiler, because this flag is not supported. Change-Id: Ia8a39b4049a673409ff20850d0c64b6ff6822a4b Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR 78KDenis Shienkov2020-07-264-0/+42
| | | | | | | | ... also the changes in the BareMetal{Application|StaticLibrary}.qbs files allows to pass all other IAR 78K tests. Change-Id: Ic11a1237a09b44c6d88a0814c7b346aad252ced4 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR V850Denis Shienkov2020-07-264-0/+27
| | | | | | | | ... also the changes in the BareMetal{Application|StaticLibrary}.qbs files allows to pass all other IAR V850 tests. Change-Id: I44be6f19eea84a3bc0c3ee0f6763c323cbd4a138 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR RH850Denis Shienkov2020-07-244-0/+27
| | | | | | | | ... also the changes in the BareMetal{Application|StaticLibrary}.qbs files allows to pass all other IAR RH850 tests. Change-Id: I5b226e6541cb93d68f30134e7f9df5f4f8c5915b Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR RL78Denis Shienkov2020-07-244-0/+37
| | | | | | | | ... also the changes in the BareMetal{Application|StaticLibrary}.qbs files allows to pass all other IAR RL78 tests. Change-Id: Ifec395f174a156d3b29cc19c82b3a29668ea76ee Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for GCC RL78Denis Shienkov2020-07-242-0/+13
| | | | | Change-Id: I512c90dc80c01524fdc1ec6f9c69545be3ba74af Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* doc: Provide a complete example in the "Installing Files" sectionIvan Komissarov2020-07-241-7/+36
| | | | | | Fixes: QBS-1350 Change-Id: I86cf583ea8cd54041c17a8656913702aab7fc35d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix setting isBundle:false on macOS in config-ui.qbsIvan Komissarov2020-07-241-0/+1
| | | | | | | | | | | | Despite the fact that the second Properties item is not evaluated on macOS, this "works" because isBundle is set to undefined (which is false) due to a bug with Properties. Set isBundle:false explicitly for macOS as well. This amends 1eff548646 Change-Id: Ifd5bc3b656a0eff02914e4fe43945b0e8b0f04fe Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Pass 'one-object-asm-application' test for KEIL C166Denis Shienkov2020-07-242-0/+9
| | | | | Change-Id: I8e5ffc2340135e53021d95c3079f6dc458dc1459 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for KEIL MCS251Denis Shienkov2020-07-232-0/+10
| | | | | Change-Id: I2b6b4618e2ddf2cc58f4c2f6c9776a5d6fac9b9f Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Skip 'preinclude-headers' test for KEIL C251 and C166Denis Shienkov2020-07-231-1/+3
| | | | | | | ... because this toolchains does not support the pre-include headers. Change-Id: I3a56389d9bdc7ca05a8e274caa9f01fb9fb52afc Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for GCC XTENSADenis Shienkov2020-07-232-0/+13
| | | | | Change-Id: Ic01a2720a9184daa80c83ed8d53809f6f50d9258 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR AVRDenis Shienkov2020-07-232-0/+9
| | | | | Change-Id: Ide33b5ad139ed18f45e9feff6093ae903d828ee7 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR MSP430Denis Shienkov2020-07-232-0/+8
| | | | | Change-Id: I7d0d6906c7b54e1c936e23f4860174f45d89d787 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR STM8Denis Shienkov2020-07-234-0/+25
| | | | | | | | ... also the changes in the BareMetal{Application|StaticLibrary}.qbs files allows to pass all other IAR STM8 tests. Change-Id: Ic4e36e0e1a19863d2c9172a17e4bcfc5da7e3a34 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Pass 'one-object-asm-application' test for IAR ARMDenis Shienkov2020-07-232-0/+17
| | | | | Change-Id: Ie4dee42345d4ca1d3280b1b65155d0dc173beffd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix CONFIG variable being read incorrectly in setup-qt.jsMitch Curtis2020-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | QT_CONFIG was read in the line before CONFIG, and the regex matched it: QT_CONFIG += private_tests shared shared [...] CONFIG += shared shared debug sanitize_address sanitizer This would lead to address sanitizer being ignored and requiring workarounds. Use a stricter regex that doesn't allow arbitrary characters before the key. The regex can be tested manually here: https://regex101.com/r/aYSWwG/2 Change-Id: I8b6a509d0fdd9500c527497fa3545646f24c42d1 Fixes: QBS-1387 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Android: Do not fail if project contains multiple shared librariesAlberto Mardegan2020-07-211-3/+2
| | | | | | | | | Do not fail the detection of the main binary if the first two candidates do not match the product name. Simplify the logic to exclude all non-matching candidates except the first one. Change-Id: I5046d7e103a9130c602aa8991bb9853c6ff593dd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add support for Cap'n Proto for the c++ languageIvan Komissarov2020-07-2128-0/+1668
| | | | | | | | | | | Cap'n Proto is a 'cerialization protocol' similar to protobuf: https://capnproto.org/index.html This patch mainly focuses on the c++ support for the capnp protocol keeping in mind the possibility to add other languages later. Change-Id: Ib19a9df1f45f2787503197791ac597d06cc45e9d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Pass 'one-object-asm-application' test for GCC MSP430Denis Shienkov2020-07-212-0/+16
| | | | | Change-Id: Icad69d9f510d09f7e157ef410383f5d39e36f1a6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* xcode: Fix Xcode 12.0 supportIvan Komissarov2020-07-203-2/+19
| | | | | | | | | The *.xcspec files for macOS were moved into the *.ideplugin directory similar to how it is done for iOS/tvOS/etc. Fixes: QBS-1582 Change-Id: I478742c4b52b08f7feee4108272da7bf2b12a744 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Pass 'one-object-asm-application' test for SDCC STM8Denis Shienkov2020-07-202-0/+9
| | | | | Change-Id: Ifa011d1fe35870b0f5808833fa785259e9ba2cb4 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Tests: Fix linking of tests when using bundled QtScriptChristian Stenger2020-07-201-1/+0
| | | | | | Change-Id: Ifd57049c89df83fc5ca9a8cac35af5a16635b312 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Skip 'preinclude-headers' test for KEIL MCS51 toolchainDenis Shienkov2020-07-162-1/+20
| | | | | | | | ... because this toolchain does not support the pre-include headers. Change-Id: I3b34a39da01500540cbaca62244104c8262875fc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Don't pass cpp.driverFlags to KEIL assemblerDenis Shienkov2020-07-163-4/+5
| | | | | | | | | ... because the cpp.driverFlags intended only for the compiler and the linker; the assembler required the cpp.assemblerFlags instead. Change-Id: Ie1cca820d54095fc1361f5b9b049adc57674b3fd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Don't pass cpp.driverFlags to IAR assemblerDenis Shienkov2020-07-161-2/+1
| | | | | | | | | ... because the cpp.driverFlags intended only for the compiler and the linker; the assembler required the cpp.assemblerFlags instead. Change-Id: I0758937d40f02cbc6ff76b36b7c11fe5f4ddcf08 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* baremetal: Don't pass cpp.driverFlags to SDCC assemblerDenis Shienkov2020-07-161-2/+1
| | | | | | | | | ... because the cpp.driverFlags intended only for the compiler and the linker; the assembler required the cpp.assemblerFlags instead. Change-Id: Ib2b70b349517dfa7d125e3c15491e2f4a870a95d Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Fix mingw linker issueOliver Wolff2020-07-161-0/+2
| | | | | | Change-Id: I4890eb09182446eb4df0e0c1ab8a6ab0cda1e6cd Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix loading optional transitive dependenciesIvan Komissarov2020-07-169-3/+51
| | | | | | | | | | If optional module B depends on an invalid module A (i.e. whos validate script throws an exception), module B should be not present as well. Fix that by remembering the initial value of the "required" property in the Depends item. Change-Id: Ia21587b3f5a8bd49c12b9f31b65e009fb2eeafb9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Probes: Remove nameFilter from FrameworkProbeIvan Komissarov2020-07-164-8/+16
| | | | | | | | | | It is not possible to use functions as values for properties with the new JS engine. Remove nameFilter by allowing to have common nameSuffixes for different selectors. Change-Id: I24ae747f4d609c956285e77ee832c6e99304a622 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Probes: Remove deprecated properties from PathProbeIvan Komissarov2020-07-151-10/+2
| | | | | | | | They were declared deprecated in qbs 1.13, looks like it's safe to remove them. Change-Id: I493f7bb9578da1bb579161338bcb5d391cc15f4c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: fix the default value for the qbs.targetPlatform propertyIvan Komissarov2020-07-151-1/+1
| | | | | | Change-Id: I013c19555af224e2f2ac39af37c63c8869109243 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* doc: Add How-To about cpp.rpathsIvan Komissarov2020-07-159-0/+329
| | | | | | Task-number: QBS-1204 Change-Id: I2d04ccb0cbcd7c1a6b5a5f251e70d34b3a960da7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Pass 'one-object-asm-application' test for GCC AVRDenis Shienkov2020-07-142-0/+8
| | | | | Change-Id: I7f355bf7a366e58c68aea449f9afe08e63db9f4e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* baremetal: Pass 'one-object-asm-application' test for GCC ARMDenis Shienkov2020-07-142-0/+8
| | | | | Change-Id: I1cb87180484e17a2eee025fb1f4fada0b399128e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>