summaryrefslogtreecommitdiffstats
path: root/config.tests
Commit message (Collapse)AuthorAgeFilesLines
* Port QtConnectivity configure check reporting from Qt 5Juha Vuolle2022-06-041-1/+1
| | | | | | | | | | | In addition reintroduce the 'bluez' compilation test which was omitted in the original Qt 6 port. Fixes: QTBUG-103209 Change-Id: If82e85615f0b85f055d42f3de7662f05f2cbcd08 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 0b90663e08cdb3f61849dcfe94dd14a32546b648) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove extra ".lib" suffix from Windows library linkageJuha Vuolle2022-06-041-1/+1
| | | | | | | | | | | The extra ".lib" can introduce trouble with static linking as the lib can become of the form <>.lib.lib in the Makefile Task-number: QTBUG-102994 Change-Id: I6b74efe535d9a85b4483d04d5952f75c62b735b5 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit b1ffbc38e364470286c5da69e93c2709ec238a8f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CMake: Bump almost all cmake_minimum_required calls to 3.16Alexandru Croitor2021-09-224-4/+4
| | | | | | | | | | | | | | Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Task-number: QTBUG-95018 Change-Id: I874f5f7560eb5817b5f2582d09d6dce7f7e54d2d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 597ff62f3d75b8061a63238ec8794bf982bdf0a4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Unify winrt configure testsOliver Wolff2021-04-083-64/+1
| | | | | | | | | | | | The "newer" API has been available since Windows 10 1703 (SDK version 15063) is much older than Qt6's minimum Windows 10 version (1809/SDK 17763). This patch is a preparation for a followup which will clean more of the code base. Change-Id: I58c3be4cfc19bfd8049ddbd49549c220c0c123fd Reviewed-by: Andreas Buhr <andreas.buhr@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove all *.pro files and all "special case" markers in CMakeLists.txtAndreas Buhr2021-01-1510-27/+0
| | | | | | | | | | | | To use CMake only in the future to build QtConnectivity, all the traces from the qmake->CMake conversion can now be removed. This patch deletes all ".prev_CMakeLists.txt" files, in deletes all "*.pro" files and it removes all "special case" markers in CMakeLists.txt files. "special case" in "*.cmake" files are kept. Change-Id: Ia0f5d4de5d77b9f2e5cc8d97fc8f04077e042a6f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update CMake scripts in QtConnectivityAndreas Buhr2020-12-215-17/+86
| | | | | | | | | Recreated all CMake files in QtConnectivity using run_pro2cmake.py . --only-existing -- --api-version 3 Furthermore, port bttestui to CMake. Change-Id: Idb55f1b4c1cff30d7824a42e3ee6923c39e698df Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Merge remote-tracking branch 'origin/wip/cmake' into devOliver Wolff2020-07-035-0/+55
|\ | | | | | | Change-Id: Icb3abdf0b150b5b09c13f4b054b402ba5b6a9684
| * Port qtconnectivity to cmakeOliver Wolff2019-10-245-0/+55
| | | | | | | | | | | | | | | | | | | | Also removed dependencies.yaml at the same time, as the new dependency tracking is not used in wip/cmake at the moment. Task-number: QTBUG-78181 Change-Id: I39c23da8daeedd86b7720d66d48ab0af3762083c Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Remove winrtOliver Wolff2020-07-022-2/+2
|/ | | | | | Task-number: QTBUG-84434 Change-Id: Ib63031a7984a2d70456c1dc171dc88b90f998b74 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Make qtconnectivity compile on RHEL 6.10Alex Blasche2019-07-161-0/+5
| | | | | | | | | | | | htonl and htons cannot be found when compiling src/sdpscanner. This patch extends the bluez compile test such that the missing symbols are checked as well. As outcome RHEL 6.10 will have no bluez support and the dummy backend will be built. Fixes: QTBUG-74581 Change-Id: Ie71ed05d72f94e43630be41bc589de5f24fb2194 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Don't require pairing when connecting to BLE on WinRTLauri Laanmets2018-10-082-0/+43
| | | | | | | | | | | | | | | | | | | | | | | If we are running on a Windows version with Creators Update or newer (>=15063) we can use new bluetooth low energy API that allows us to do device discovery without the requirement of having paired the device. Instead of connecting to the device and fetching its services, we can use UUIDs from advertisement packages to get an initial service list. By using that approach we can get rid of the pairing process in 'connectToDevice' and replace it with 'GetGattServicesAsync' if no services are yet available. The old behavior was kept as a fallback for the case where the device has already been paired. If the backend is built with an older Windows Kit or the machine running the application does not support the new API we fall back to the old implementation which still requires pairing. Task-number: QTBUG-58660 Change-Id: Ice262d4d993a0119efb8b6c8fe9a21830717569f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* 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