summaryrefslogtreecommitdiffstats
path: root/config.tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix bluez config test failure on clangAlex Blasche2018-08-311-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This compile failure used to be a warning only but these days is a failure for clang: > /home/ablasche/dev/qt/qt512/qtconnectivity/config.tests/bluez/main.cpp:36:11: error: taking the address of a temporary object of type 'bdaddr_t' [-Waddress-of-temporary] > bacmp(BDADDR_ANY, BDADDR_LOCAL); > ^~~~~~~~~~ > /usr/include/bluetooth/bluetooth.h:310:23: note: expanded from macro 'BDADDR_ANY' > #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /home/ablasche/dev/qt/qt512/qtconnectivity/config.tests/bluez/main.cpp:36:23: error: taking the address of a temporary object of type 'bdaddr_t' [-Waddress-of-temporary] > bacmp(BDADDR_ANY, BDADDR_LOCAL); > ^~~~~~~~~~~~ > /usr/include/bluetooth/bluetooth.h:312:23: note: expanded from macro 'BDADDR_LOCAL' > #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}}) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 2 errors generated. The need for BDADDR_NONE is obsolete now since the test does not rely on those defines anymore. The main purpose is to check that bluetooth.h is available which is already tested by using bacmp and bdaddr_t. Change-Id: I09da4dc5cd3945ffae7819628b45477a52789006 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Make winrt_bt config test fail on ICCOliver Wolff2018-07-171-0/+4
| | | | | | | | | | | ICC chokes on the way, callbacks are registered for the winrt backend, so it should be disabled when ICC is used to build QtConnectivity. Task-number: QTBUG-68026 Change-Id: I6f8f0b031a97afe7ebecc5cdf78d4fe4d1aac2b4 Reviewed-by: Alexander Shevchenko <sav_ix@ukr.net> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Add configure test to detect presence of winrt APIOliver Wolff2017-08-302-0/+45
| | | | | | | | | | | | | Instead of checking for a certain Windows version, we should check whether the API is actually available [ChangeLog][QtBluetooth][Windows] Enabled UWP backend for desktop Windows versions that support the API Task-number: QTBUG-61566 Change-Id: I8384119c70cc2c4bdcdbe6b297cfcf5fb3e3f534 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* Make bluez compile test pass againAlex Blasche2017-07-192-0/+9
| | | | | | | | | | | | | | | | | | | | | | The compiler error is: In file included from main.cpp:29:0: main.cpp: In function 'int main()' main.cpp:33:11: error: taking address of temporary [-fpermissive] bacmp(BDADDR_ANY, BDADDR_NONE); ^ main.cpp:33:23: error: 'BDADDR_NONE' was not declared in this scope bacmp(BDADDR_ANY, BDADDR_NONE); BDADDR_NONE only exists in Linux iBluetooth kernel headers but not in the Bluez project headers. Furthermore the usage of the BDADDR_* defines is known to trigger -fpermissive violations. For the prupose of this test fpermissive is not relevant as the test is never executed and the focus is in checking the existence of the very same defines. Change-Id: I56db5406ec91fdd5e7998cac4900ee9f9b628c00 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
* bluez: check actual header contentJerome Duval2017-06-141-0/+1
| | | | | | | | Haiku also provides bluetooth/bluetooth.h, so check for Bluez a bit more. Change-Id: I49ca639f117c8ea21b5cae9c94fe81fc9b0f28d0 Reviewed-by: Augustin Cavalier <waddlesplash@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Convert qtconnectivity to the new configure systemLars Knoll2016-11-012-14/+0
| | | | | | | | Properly do the detection of bluez and the linux crypto API, and don't run pkg-config at build time. Change-Id: I0f082992c0f82e90e611283ff0c2cc0143e74bd6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Bluetooth LE: Add configure test for Linux crypto API.Christian Kandeler2016-02-092-0/+46
| | | | | | | These files were forgotten in commit c516f6157a. Change-Id: I87bd57545b8873fc0aa00751058be604588daffe Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Updated license headersAntti Kokko2016-01-202-34/+24
| | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I37338c968d8cb5a056cd42e1130cfa077b12d164 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Remove BlackBerry as supported platform from QtNfcAlex Blasche2015-06-182-44/+0
| | | | | | | | [ChangeLog][QtNfc][Platform Specific Changes] Removed support for Blackberry 10 from QtNfc. Change-Id: Ideca878656826de7d04dda96bd213895433a3737 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
* Remove QNX/BlackBerry implementation for QtBluetoothAlex Blasche2015-06-172-52/+0
| | | | | | | | | [ChangeLog][QtBluetooth][Platform Specific Changes] Removed support for Blackberry 10. Change-Id: I431c4f34bb10aa3668542df7a8b3403b61bf4705 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-164-27/+27
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I3822a6484e8f7a420330de1cb1aeb0c3d1cf41b7 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Update license headers and add new licensesJani Heikkinen2014-08-244-74/+42
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I7a8b8b787fcae9a178794364efdefe1021d10b1b Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Provide guarding against non-BTLE enabled versions of BluezAlex Blasche2014-06-162-0/+60
| | | | | | | | | | This disables the gatttool based controller as well. While it might compile on older systems they are likely to not have a gatttool and why would a Bluez version without BTLE symbols ever work anyway. Change-Id: I761e482d3dd1e99008c5d170053e19a1a3a51e6c Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
* QNX: Config test for libbb2Fabian Bumberger2014-02-142-0/+52
| | | | | | | | | | | libbb2 is not available in a public NDK yet. In order to be able to compile NFC for BlackBerry 10 with a public NDK the BB10 implementation for the QNearfieldShareManager is only built if libbb2 is detected. Change-Id: Idd11d4584215fade91db9f79895f901547bce3ef Reviewed-by: Stuart Burge <sburge@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com>
* Introduce compile test for BT API 10.2.1Fabian Bumberger2013-10-172-0/+60
| | | | | Change-Id: If4d805f49666cf9d09cc82c377f96398b7d4039c Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Update Copyright headersAlex Blasche2013-06-251-1/+1
| | | | | | | | | - Update Digia's copyright year - Add copyright to files without it - Convert old BSD to new LGPL license for auto test code Change-Id: I47f5c871c436f9c2731b235026434448719cc671 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-231-25/+25
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I4f07028d0bf0b3ba4c4649897b80687ea5e51abc Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix minor documentation issue.Toby Tomkins2012-05-171-1/+1
| | | | | Change-Id: I0feca6aa5d2b4ed25b5fd75c5147be42fa1f8b88 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-301-1/+1
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I84f8c423bd7748bbae495fedae696990414cee83 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-201-1/+1
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I1c6ba5c87f0eca30b6f01f4245a032262d30f8ce Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-051-1/+1
| | | | | | Change-Id: I76920b22a5b386a0f85ec28076da20505c022b6f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Initial commit.Michael Zanetti2011-08-242-0/+55
From qt5connectivity.tar.gz, md5 317c149d6f8c07d09632353188582834