summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on 'dev' in qt/qtserialportHEADdevQt Submodule Update Bot2023-05-171-1/+1
| | | | | Change-Id: Idedbbbcde453e7f50bf93d0d317ac2a06079b791 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-05-111-1/+1
| | | | | Change-Id: Ie30f1df6eb62c5d1219cc260105e6b7a311cd077 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-05-091-1/+1
| | | | | Change-Id: Ibd51a16fbeadbac34402cca140ca77f1103e13d6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-031-0/+1
| | | | | | | | | The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I77fc07096e38688f47f050b712c7a14cdc902edc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-05-021-1/+1
| | | | | Change-Id: I3683cc872ee0df1c19505e97a6fafc62b1df77f1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-271-1/+1
| | | | | Change-Id: If84b41482ac86304d159b44efdcfdb7d03d2f0d2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-241-1/+1
| | | | | Change-Id: I62fc1564242993ae2d0843358cc16ae3838afb2b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-201-1/+1
| | | | | Change-Id: I054215ee17e71c3272cc4a9a87a79c52ff9fb12f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-181-1/+1
| | | | | Change-Id: I2a3d9a3b84b2c5831f9c367057c32afd50260bc2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-131-1/+1
| | | | | Change-Id: I7ae84b3de399649bfb7195165ef4c92f46a8b45e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-121-1/+1
| | | | | Change-Id: I72b3654e36b1ccb60a1fb129ab831ce61c03a710 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Use the \examplecategory macro to tag examplesTopi Reinio2023-04-113-3/+3
| | | | | | | | | | | | | | | | The '\meta category' command was used for tagging examples with a specific category, used in Qt Creators Welcome mode. As we want to also generate lists of examples belonging to a category elsewhere in the documentation, replace the command with a macro that expands to the original \meta command and also adds the example to a group using the \ingroup command. This way, the category names can be used as arguments to the \generatelist or \annotatedlist commands. Pick-to: 6.5 Task-number: QTBUG-112731 Change-Id: I207110715b0d3bab25d21ef91f7b0c833c0acb27 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-111-1/+1
| | | | | Change-Id: Ib2d1ae2db96b054b415a669ca85c7e8fc9d0a002 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-051-1/+1
| | | | | Change-Id: Ic90941eb98a06e527dacbaa869c42d6f71d37ee4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-04-041-1/+1
| | | | | Change-Id: Iafd9d0db11a1851f44a947db48f6cad211bbdc3e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-03-281-1/+1
| | | | | Change-Id: If098eefd76a1d903248687c6ab3078d32798bfd1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add Axivion configMatti Paaso2023-03-231-0/+59
| | | | | | | Task-number: QTQAINFRA-5244 Change-Id: I83e4f640fdb2d008cb896eb40c3bd35169200752 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-03-191-1/+1
| | | | | Change-Id: I25503793e7a19313ea27c05810e8614ede96752a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-03-101-1/+1
| | | | | Change-Id: I7cdd3b6bcbe70ad909bf8d984976f3e132c6d6ab Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-03-021-1/+1
| | | | | Change-Id: Icbfa366343ce0d8eae71ec342a6e4048e8224d50 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-02-241-1/+1
| | | | | Change-Id: I169aad6f5476ce80c5777161e0fb82530db8b3f5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-02-201-1/+1
| | | | | Change-Id: I305eb3d37ba04751b6f4d5556a59827a07f3eaa6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove creaderasync and cwriterasync examplesIvan Solovev2023-02-2016-465/+0
| | | | | | | | | | | The examples didn't have a good documentation, and the features that they show can also be illustrated using the Terminal example. Remove the examples in scope of global example revamp. Task-number: QTBUG-110645 Pick-to: 6.5 Change-Id: Ib4c91f75bd99de3670d9648b6407fbdefc4e5f18 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-02-131-1/+1
| | | | | Change-Id: I0ad655f960a03166771abbf46eed36a1c61e99e9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* More improvements on Blocking Sender and Receiver examplesIvan Solovev2023-02-103-10/+14
| | | | | | | | | | | * Do not use Example in the name * add Connectivity category Fixes: QTBUG-108871 Task-number: QTBUG-108868 Pick-to: 6.5 Change-Id: Ia4b0f577b31611fd15aadbc2dff6ff0f82399894 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Improve Terminal exampleIvan Solovev2023-02-107-24/+87
| | | | | | | | | | | | | | | | | Extend the example to handle bytesWritten() signal. This allows to demonstrate both async read and async write with one example. Extend the example description to cover these changes. Apart from that do some regular cleanups: * Do not use Example in the name * Update screenshot * add Connectivity category Fixes: QTBUG-108870 Task-number: QTBUG-108868 Pick-to: 6.5 Change-Id: I013b66189fe321773f1fd7a8dcaf98c380833d8c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Move Senred and Receiver examples to manual testsIvan Solovev2023-02-1013-32/+9
| | | | | | | | | | | | | | | These examples have no description, so they are not visible in the docs and in QtCreator anyway. The APIs that are shown by these examples are also covered by other examples. Still they can be useful while debugging, so move them to tests/manual/examples. Task-number: QTBUG-110645 Task-number: QTBUG-108868 Pick-to: 6.5 Change-Id: I7d575372a4b0af57f4564b18f6d024347e812c7e Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* SerialPort examples: update CMakeLists.txtIvan Solovev2023-02-106-13/+12
| | | | | | | | | | | | * Use qt_standard_project_setup() instead of enabling AUTOMOC and AUTOUIC manually * Use versionless CMake functions * Update check for Qt::Widgets when selecting the examples to build Task-number: QTBUG-108868 Pick-to: 6.5 Change-Id: I71962ae99ed0586a482282df15a1a1f25d273c35 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update .gitignoreIvan Solovev2023-02-101-2/+2
| | | | | | | | ... to skip various .user* files from multiple project configurations Pick-to: 6.5 Change-Id: I66f126268ef0ef71999f2a3d88d6225176210f2a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove duplicated examplesIvan Solovev2023-02-0222-510/+2
| | | | | | | | | | | The console reader and writer examples have UI versions. The gist of the enumerator examples is directly shown in the QSerialPortInfo class documentation. Task-number: QTBUG-110645 Pick-to: 6.5 Change-Id: I0f496ddd1e598fc8a5636ac72aa65f99baee561a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update blocking sender/receiver example screenshotsIvan Solovev2023-02-022-0/+0
| | | | | | | | | | | | The examples were still using the old screenshots with master/slave instead of sender/receiver. This commit amends e655ed23511e22306a17c901370ad9ab8e435694 Task-number: QTBUG-108871 Pick-to: 6.5 Change-Id: Id690de271fc129bdf2f9cb59a5f76c1ba14286cc Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Extend QSerialPortInfo docsIvan Solovev2023-02-023-8/+61
| | | | | | | | | | Provide a snippet that shows serial port enumeration. This allows to get rid of two examples. Task-number: QTBUG-110645 Pick-to: 6.5 Change-Id: I64649de331e116fc6e0f2b4c7d0d46e3198698e2 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-02-011-1/+1
| | | | | Change-Id: Ibf8e41b23328ef12563469398cb10d352d86c1bd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-311-1/+1
| | | | | Change-Id: Ief4868af211a919b48afcb7012ca42a53bdcbec7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-271-1/+1
| | | | | Change-Id: I298833c48e3575a82dcdcdf103dc52ee2cf7de9b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-241-1/+1
| | | | | Change-Id: I2cd0ffc7b9b7cdeda9398d7bfae4701e4c81b1bc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-191-1/+1
| | | | | Change-Id: Ib8b7fd7bd39df9024fb8b566ccfba8a9ad373222 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-171-1/+1
| | | | | Change-Id: I99e983f36d0258ac3cdd1a7411f149d131c5558e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-121-1/+1
| | | | | Change-Id: I5d6d111c166aa086c04d44aa5f2ee220e462708f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-091-1/+1
| | | | | Change-Id: Ib6f080d7f0a929232f768471d25bc417bf977100 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-041-1/+1
| | | | | Change-Id: Ia5cc352909a6072f15f95a13e32f4beb47402718 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove QT_USE_SYNCQT_CPPAlexey Edelev2023-01-021-2/+0
| | | | | | | | Option has not effect anymore. Pick-to: 6.5 Change-Id: I52303642d93a118ae2ad1a00983aca93ef45bd45 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2023-01-021-1/+1
| | | | | Change-Id: I45dc30e547ca2deea7e0e6b781fb4964d3e74d11 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Revise Qt Serial Port module landing pageAndreas Eliasson2022-12-271-19/+9
| | | | | | | | | For consistency, make the module landing page follow the same structure as seen in most other modules. Pick-to: 6.5 6.4 6.2 Change-Id: I2e870890b520483e17e88202cd86f0c5e3f6ad75 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2022-12-171-1/+1
| | | | | Change-Id: If10b139046f97cc2d600b2ac500acde5f648614f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2022-12-151-1/+1
| | | | | Change-Id: Ieac9bb5d0f7d7029818db4bb1880e2e9218825c1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.6.0Jani Heikkinen2022-12-151-1/+1
| | | | | Change-Id: I3147c1470523c6c116cb656db7872ea10c5469cf Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Fix QWinOverlappedIoNotifierIvan Solovev2022-12-121-1/+10
| | | | | | | | | | | | | | | | | | | | | | | Commit f3a306a30fc4f40d1c96fee0ed44517fe8b43d76 started processing the whole input queue in _q_notified() slot. The reads from the input queue are guarded by the hSemaphore variable, and this approach results in discrepancy between the hSemaphore value and the amount of messages in the queue. As a result, we sometimes could try to read from an empty queue, because the semaphore still had a non-zero value. This commit attempts to fix it by manually adjusting the hSemaphore count in such scenarios, and also reorderding the mutex and semaphore calls to make sure that the hSemaphore value is not modified from the QWinOverlapped thread while it is decremented to match the messages count. This commit amends f3a306a30fc4f40d1c96fee0ed44517fe8b43d76. Fixes: QTBUG-108450 Pick-to: 6.4 6.2 5.15 Change-Id: I0c568c37119b83aafd5f98a22703b19f37b4fbc9 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2022-12-111-1/+1
| | | | | Change-Id: I3860229d3595b289287466ae632e11a949c1cb8c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtserialportQt Submodule Update Bot2022-12-101-1/+1
| | | | | Change-Id: I382fa5ead5b1f339c17815d41b53bc63f4bff564 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>