summaryrefslogtreecommitdiffstats
path: root/examples/remoteobjects/ssl
Commit message (Collapse)AuthorAgeFilesLines
* qtremoteobjects: update certificatesTimur Pocheptsov2025-09-037-128/+129
| | | | | | | | | In tests and examples - they expired 02.09. Pick-to: 6.10 6.9 6.8 6.5 Fixes: QTBUG-139754 Change-Id: I6f1b114721297e78aee8959a578bd8f91bed3044 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* CMake: Fix examples built outside of Qt buildJoerg Bornemann2025-01-261-4/+9
| | | | | | | | | | | Configuring the simpleswitch and ssl examples didn't work in Qt Creator since the qt_internal_add_example function is not available for user projects. Pick-to: 6.8 6.9 Task-number: QTBUG-132738 Change-Id: I4a90984300d4c9b3036816d4f375653280a57de2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Correct license for example and snippet filesLucie Gérard2024-04-042-2/+2
| | | | | | | | | | | | According to QUIP-18 [1], all example and snippet files should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I71c88d1ba956d8e2c03ae2a958eece693ded7bf1 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Exclude sslserver and sslcppclient examples for Android buildElias Hautala2023-08-213-2/+12
| | | | | | | | | Excludes Sslserver and sslcppcilent examples from Android build because these can't be buil for Android. Task-number: QTBUG-111933 Change-Id: I444b0c51bc5b3540fcab47a9ff54cfc9d82020f0 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Doc: Change category of examples to ConnectivityØystein Heskestad2023-07-311-1/+1
| | | | | | | Task-number: QTBUG-112850 Pick-to: 6.5 6.6 Change-Id: Ia64f25ac509daab632eca1152226beed0b74db65 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: Update example category namesKai Köhne2023-07-101-1/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ia1b6a981945c22302e0e31f861a9044711390172 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Revamp SSL exampleØystein Heskestad2023-06-0610-141/+150
| | | | | | | | | | | | The example did not work because the two applications used different rep-files to generate the remote objects. Use the same file in both applications, fix usage of case in naming, expand the documentation, and add a picture. Remove unused PresetData from rep-file. Task-number: QTBUG-112850 Pick-to: 6.5 6.6 Change-Id: Ia7aafc52d647bca9ffec12b8dd548377f20b6ce4 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Regenerate certsMårten Nordheim2023-05-317-130/+134
| | | | | | | | | | They expired Pick-to: 6.5 6.2 5.15 Change-Id: I3276895b208a2dbb4d9efb6a8cf67915913c63e8 Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Enable QtRemoteObjects example documentationJuha Vuolle2022-09-231-2/+3
| | | | | | | | | | | | | This commit adds the example listing page and a link to it on the module's landing page. The examples that had the 'qdoc' file are included in the listing. Few examples' documentation is quite limited, but those can be addresed in their own tasks as needed. Fixes: QTBUG-105943 Change-Id: Id69baead6fa5a2a62a3ce7fdf3d7e6be06cc851d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-232-2/+2
| | | | | | | Task-number: QTBUG-105718 Change-Id: I3c41abc9bca22c7395fa8bbacb853e2081491d5f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-072-0/+6
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I645192906c25043651ee09447a2d98e70330a39c Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-147-320/+14
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I315d7ce1d6c6c3497afdfe8b61a113fdc181c935 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Improve examples CMakeLists.txtKai Köhne2022-03-013-20/+8
| | | | | | | | | | | | | | | | | | - Remove # generated from xyz.pro comment from pro2cmake - Remove "# special case" markers for pro2cmake - Remove automatic use of CMAKE_AUTORCC - Only opt into CMAKE_AUTOUIC if .ui files are involved - Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR, if not required by qt6_add_repc-* - Combine multiple find_package(Qt6 ... calls) - use REQUIRED COMPONENTS - sort components alphabetically - Fix wrong indentations - Use (only) one empty line after multi-line commands Pick-to: 6.3 Change-Id: Idd8ad59c9f5dd9a6675ef83d589ad2e6d3e0a9c0 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Switch examples to build as isolated sub-buildsAlexandru Croitor2021-12-151-2/+2
| | | | | | | Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: Id67d82c171c6c2856de5abe911ff5f6931a05580 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Raise cmake_minimum_required to VERSION 3.16 in examplesJoerg Bornemann2021-08-172-2/+2
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-95636 Change-Id: I821f412f9dbe11ae99ffd888a7ab2ba415ed9379 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Make qt6_add_repc_{replica, source} pluralSona Kurazyan2021-05-312-2/+2
| | | | | | | | | Since these functions can take multiple *.rep files, it makes sense to make them plural. Change-Id: I99894e9ee1f6f0035eb8c3e5cdd1292316324577 Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Use fixed qt_add_resource BASE argumentJoerg Bornemann2021-05-202-35/+14
| | | | | | | | Task-number: QTBUG-86726 Change-Id: I60decd981520475caccf112967afb82928612995 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add some introductory documentation to a few more examplesMårten Nordheim2021-03-241-0/+35
| | | | | | | | | | | This way they will show up in the examples section for Remote Objects. Didn't document them as much as the previous example as they're not doing the Remote Objects parts very differently, but they are covering niches which are very important. Change-Id: I9bbd26a3fb8b2cf8a409464d9807daafc2558ac2 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Remove old instructions for generating tls certificatesMårten Nordheim2021-03-231-15/+0
| | | | | | | Amends b03bf04c19d4d9b81f92bd9a30ee7d26317a7315 Change-Id: Ib7fbd69cf8f426f341b4a14c7be4d632ab30e6c1 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
* Migrate from old signal/slot connection syntaxSona Kurazyan2021-02-251-4/+4
| | | | | | | | | | Exception is made for the cases, when the signals/slots are not known at compile-time (i.e. involve dynamic replicas) or are defined in the repc-generated files. Pick-to: 5.15 5.12 Change-Id: Ice1fc78b59c713480531292a0401795df75523d7 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Regenerate certificates to match new macOS 10.15 restrictionsMårten Nordheim2021-02-248-126/+127
| | | | | | | | | | | The server cert needs to have the 'domain' in the extensions, not just in the CommonName and it also needs to have the extended key usage 'server'. Pick-to: 5.15 Change-Id: If9dc40281bf7af2157baa2cb1e6831c3a82bc6f2 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Clean-up warningsSona Kurazyan2021-02-221-1/+1
| | | | | | | | | | | | | Fixed the following warnings: - empty expression statement has no effect; remove unnecessary ';' - use of old-style cast - zero as null pointer constant - other minor things Change-Id: Ia672f48d2aa87c59354fc93fd19862f1875e13db Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Regenerate CMake projectsSona Kurazyan2021-02-152-2/+10
| | | | | | Task-number: QTBUG-90686 Change-Id: I721eb88e638c83916884b7e7cf56dfa379baba86 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Update via run_pro2cmake.pyBrett Stottlemyer2020-06-292-10/+12
| | | | | | | ... and address special cases Change-Id: I2ceb88e9505c59fe48dd4612cfed82935eb2dfc4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Merge remote-tracking branch 'origin/wip/cmake' into devAlexandru Croitor2020-06-163-0/+144
|\ | | | | | | | | | | | | Conflicts: dependencies.yaml Change-Id: I01be97466ce583c1852c00986d1e925dda80038c
| * Regenerate projectswip/cmakeAlexandru Croitor2019-11-151-1/+1
| | | | | | | | | | | | Change-Id: I08414933bad2e94f8f9a12ac7372570e838e31cd Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Port QtRemoteObjects to CMakeJoerg Bornemann2019-11-123-0/+144
| | | | | | | | | | | | | | Fixes: QTBUG-78175 Change-Id: I9e75992ac906778b9d04ccbe132445728ef65789 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | QAbstractSocket: fix deprecation warnings from the error signalMårten Nordheim2020-03-232-2/+2
|/ | | | | | | Task-number: QTBUG-82605 Change-Id: Iec79cebddaf58ec352243b44eeb1d52e0ddacf67 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* SSL Examples: Explicitly state SSL requirementFriedemann Kleint2018-12-102-0/+6
| | | | | | | | | Give a proper error message when trying to build the example locally. Fixes: QTBUG-72394 Change-Id: I7a4178aabf0960af3172cfc2d86c2672ad962142 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Quit gracefullyv5.12.0-rc1BogDan Vatra2018-11-141-1/+2
| | | | | | Task-number: QTBUG-71693 Change-Id: I78a48508e8a254ef1db77d7fb2956161bf3d817f Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Add SSL example & auto testBogDan Vatra2018-10-2918-0/+789
Change-Id: I3342507fa2ea69f753f1f062c233211fad4791ff Reviewed-by: Brett Stottlemyer <bstottle@ford.com>