summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets
Commit message (Collapse)AuthorAgeFilesLines
* Remove non-functional clientcertificate exampleMichael Brüning2023-06-1518-553/+0
| | | | | | | | It depends on QSslServer, which was introduced in 6.4 only. Fixes: QTBUG-112522 Change-Id: I9e788c033ac211039a0adee08758a2cfa992ff31 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Revert "Simple browser example: Use modern string literals"Michal Klocek2023-06-086-32/+22
| | | | | | | | | Modern string literals are not supported in 6.2. This reverts commit 8f3ecf8fe19ac9e78331ce13749bdf05b51d6483. Change-Id: Iddb33cbbfa73445d703ccd45f63b4adddef3eefa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/6.5' into tqtc/lts-6.2Allan Sandfeld Jensen2023-05-31115-1786/+2813
|\ | | | | | | Change-Id: If83774c63e69a8202ba030157ec95255102aeb48
| * Doc: Use the \examplecategory macro to tag examplesTopi Reinio2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Task-number: QTBUG-112731 Change-Id: If9519fd8994c64cf57dc4c9a9387d7be80493d80 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 89cdfed48ce61b06581c178d151d427ad7d67ac6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Merge recipe browser, stylesheet browser and markdown editor examplesYigit Akcay2023-04-0662-1146/+1276
| | | | | | | | | | | | | | | | | | | | This patch merges the qtwebengine examples recipe browser, stylesheet browser and markdown editor into one single example. Task-number: QTBUG-108751 Change-Id: I338707d7d3275b03bf2a2d7b65064ac91e562d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fe9d72d931f40eafca97c1012c03e24561c973ff)
| * Simple browser example: Fix up the codeFriedemann Kleint2023-04-053-34/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove duplicated unused helper questionForFeature() - Replace lambdas by slots where possible - Fix clang warning about using multiple arguments to QString::arg() - Remove dead code in WebView::contextMenuEvent() which checks on inspectElement == actions.cend(), but is within an "if" checking the same condition. Change-Id: Ie85a3811f4f5a8c3fa9550d4eb2ca5bf79e39084 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 88ef502099d535823156c31e77251dd2a723ad1c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Add Windows 11 related note for Geolocation settingsYigit Akcay2023-04-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | There are 3 OS settings under Windows 11 that need to be enabled for the HTML5 Geolocation in QtWebEngine to work properly. This isn't very straightforward to a user, therefore this patch adds a note to the documentation. Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c3b2393e7a532a18d4971a878740b2a9b5830028) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Simple browser example: Add helper function to remove key backspaceFriedemann Kleint2023-03-301-15/+16
| | | | | | | | | | | | | | | | | | It otherwise looks like a bit like an oversight or bug. Change-Id: If11fe034fa91022eb70c99b8a916fb35ac86f75d Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 24a11562f89016079f62b51ca5ad40938b74761c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Simple browser example: Fix clazy warningsFriedemann Kleint2023-03-302-17/+13
| | | | | | | | | | | | | | | | | | | | - else after return - Use multiarg version of QString::arg(QString) Change-Id: Iceff3ee8877b866b5b9187cd85da54864ab17834 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 3d5ee5e333e4257d2d243ba250b2f45e732cdb1e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Simple browser example: Use member initializationFriedemann Kleint2023-03-289-25/+16
| | | | | | | | | | | | | | | | | | As a drive-by, make constructors explicit. Change-Id: I5c8e3d8049504afa4aa5a0d7c1a85bb59eb3cd38 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 11e598d7153ec209bb208fafa0dcef9cab7c324b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Simple browser example: Use modern string literalsFriedemann Kleint2023-03-286-19/+31
| | | | | | | | | | | | | | Change-Id: I14ed5efed1bf228239f95a8a4addce5d19a9f220 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit de96e684275be9548252f874cbc515b81cd51cd8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Remove webui exampleAllan Sandfeld Jensen2023-03-2411-450/+1
| | | | | | | | | | | | | | | | | | | | | | | | Doesn't demonstrate anything complicated, the code isn't even worth quoting as snippets. We could consider introducing a help browser to replace it with more functionality. Task-number: QTBUG-108751 Change-Id: I3b796388796a78d017836a10bee18032b2cd4905 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e4051de7db7b7f0905770280f9a06e133d453cf7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Move widgets minimal example to manual testsMichal Klocek2023-03-247-129/+0
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-108751 Change-Id: I6e237b04d1f6a19f64516cd45aabe4d28099abd5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 34ebe8be93ab10766d034e5a3943a12c8de3a58e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Doc: Fix warning and minor clean-upPeter Varga2023-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | - Fix typo in link - Qt Location is no longer linked in Qt WebEngine Features - Replace Qt Location with Qt Positioning module Change-Id: Ia736fee8f0775fd6067c6f1e7a670b3bd7d8acb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e8137c729afbbb5c1549cad863ecbfd8c95b94a5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Disable WebEngineContext dump by defaultPeter Varga2023-01-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep it enabled for simplebrowser and quicknanobrowser examples. Also add documentation how to enable it. [ChangeLog][WebEngineCore] Disabled WebEngineContext dump by default. Fixes: QTBUG-109040 Change-Id: I4bd3c0e9eb532771f9b455863324e9dacaae884a Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 876f11854eddbe95132692b3b0853470563ff54a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Fix qdoc link failuresMichal Klocek2023-01-071-3/+3
| | | | | | | | | | | | | | Change-Id: I6b18382a376bf3067323e801f6f39bf4ec09e9dc Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit df4fee6fd3045884aee483c34c76c6718a10fe56) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Update push example after setPushServiceEndpoint changeMichal Klocek2022-12-227-7/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | We have now extra call to enable push messaging, therefore drop usage of simple browser in example and use the same code as in Notification Example but add new settings and fix profile to be not off-the-record. Task-number: QTBUG-107442 Change-Id: I3069c4cf2b6a6ce864c1e4c578ab03adb67984e4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> (cherry picked from commit 9907b4cbadfb3104f5617724f10e19e910c61e2e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Fix qdoc warningsv6.5.0-beta1Michal Klocek2022-12-1616-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As JavaScript parsing issue got fixed , the limit was not changed, meaning there where 4 "unused" warnings possibilities. In the meantime another change e6a13d97898f3f4b19f61006d0716ca9e1b9f037 was merged which had 3 qdoc issues, which got therefore unnoticed. Fix those issues. Do not use underscore in example name and rename push_notification to push-notifications (like qtbase network-chat). Change-Id: I2635424e24d3b9a0a02c2e6fe8ac383eec95c112 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit cbc622f158a94fea9c6af8d675a8743e98267109) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Fix build of clientcertificate exampleSzabolcs David2022-12-031-3/+3
| | | | | | | | | | | | | | | | | | CMake Error at CMakeLists.txt:30 (qt_internal_add_resource): Unknown CMake command "qt_internal_add_resource". Pick-to: 6.4 Change-Id: Ieb85515897f6772e13491106b32da1bb7a5118fe Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Add client certificate exampleMichal Klocek2022-11-2918-1/+553
| | | | | | | | | | | | | | Task-number: QTBUG-106497 Pick-to: 6.4 Change-Id: I39e39a991362940bb35052d28254b7b12acaa105 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Add push notification exampleMichal Klocek2022-11-2915-0/+1249
| | | | | | | | | | | | | | | | | | | | | | Adds simple push service implementation in NodeJS. Note setup for endpoint for qwebenginepage is not mentioned as it has to be decided what to do with it (see bug report). Task-number: QTBUG-107442 Change-Id: Iacfcb2a9d0c33c514b4046d06f866eb82390a240 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Mention WebSockets in docsSzabolcs David2022-11-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebChannel has an example for a use case of HTML web sockets and connectivity of the native side of application. We don't need to create a new example of our own by mentioning this. However, the chat client application uses JS libraries served from remote, so we have to enable LocalContentCanAccessRemoteUrls setting to make it work out of the box in WebEngine example browsers. Desktop Chrome works the same way by default. Task-number: QTBUG-106505 Change-Id: I9020d0a09a88de16d32af063aee5d55c9837f484 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Simple Browser example: Fix startup flicker on WindowsFriedemann Kleint2022-10-134-4/+16
| | | | | | | | | | | | | | | | | | Ensure the initial browser tab is added before show(), avoiding the flicker of RHI switching. Pick-to: 6.4 Change-Id: I0aaa5a4128f089bfc9ef68d25cab44da78962eb6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Port from qAsConst() to std::as_const()Marc Mutz2022-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: I4b5f85df579532c2af938fe70db945ba273782fb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-2614-14/+14
| | | | | | | | | | | | Task-number: QTBUG-105718 Change-Id: I2ad190e5536cdbdc8d2656e61892545d66911a02 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
| * Fix simplebrowser build with Qt 6.3Peter Varga2022-08-182-0/+10
| | | | | | | | | | | | | | Pick-to: 6.4 Task-number: QTBUG-97829 Change-Id: I0034a1350bf1a0bf01914f0216dd37859e3e7163 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add license headers to cmake filesLucie Gérard2022-07-0714-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | 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: I118bd63694cfe2c9a413af4a38828a31727f8e86 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
| * Use SPDX license identifiersLucie Gérard2022-06-2271-3180/+142
| | | | | | | | | | | | | | | | | | | | | | 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: I869ffda1080e283f231eb0dc4477b260f2054d99 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
| * Simplebrowser: Add inspector action to Window menuPeter Varga2022-06-151-1/+9
| | | | | | | | | | | | | | This is handy for debugging pages which override context menu. Change-Id: I4eedf0dc8e00e15716b896608db27cdbc6906362 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Fix simplebrowser build with Qt 6.2Allan Sandfeld Jensen2022-06-112-0/+12
| | | | | | | | | | | | | | | | This is a partial revert of 83e5b3c3e19deedfcad0dcb8116b3e6c931b8f6c Pick-to: 6.4 6.3 Change-Id: I79e814075415585b4d4a3b04a92b3ad84d2dfa53 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix compilation issuesMichal Klocek2023-03-232-2/+2
| | | | | | | | | | | | | | Do not use QSslServer as it was introduced in 6.4. Change-Id: I628cc891af1f5eea653595b2d8d6314e372c6033 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Doc: Fix warning and minor clean-upPeter Varga2023-01-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | - Fix typo in link - Qt Location is no longer linked in Qt WebEngine Features - Replace Qt Location with Qt Positioning module Change-Id: Ia736fee8f0775fd6067c6f1e7a670b3bd7d8acb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e8137c729afbbb5c1549cad863ecbfd8c95b94a5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Fix qdoc link failuresMichal Klocek2023-01-071-3/+3
| | | | | | | | | | | | | | Change-Id: I6b18382a376bf3067323e801f6f39bf4ec09e9dc Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit df4fee6fd3045884aee483c34c76c6718a10fe56) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Add client certificate exampleMichal Klocek2022-12-0918-1/+553
| | | | | | | | | | | | | | Task-number: QTBUG-106497 Change-Id: I39e39a991362940bb35052d28254b7b12acaa105 (cherry picked from commit e6a13d97898f3f4b19f61006d0716ca9e1b9f037) Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Mention WebSockets in docsMichal Klocek2022-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebChannel has an example for a use case of HTML web sockets and connectivity of the native side of application. We don't need to create a new example of our own by mentioning this. However, the chat client application uses JS libraries served from remote, so we have to enable LocalContentCanAccessRemoteUrls setting to make it work out of the box in WebEngine example browsers. Desktop Chrome works the same way by default. Task-number: QTBUG-106505 Change-Id: I9020d0a09a88de16d32af063aee5d55c9837f484 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit d1607c91dff1d02621c64cc93d3c1a246ce4fe9f)
* | Port from qAsConst() to std::as_const()Marc Mutz2022-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. This is a 6.4 re-run of the script we ran in dev, in order to avoid conflicts between the branches when cherry-picking. Change-Id: I5eca3df3179dfb2b2682c75a479ba9a4259cc703 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* | Simple Browser example: Fix startup flicker on WindowsFriedemann Kleint2022-10-134-4/+16
| | | | | | | | | | | | | | | | | | | | Ensure the initial browser tab is added before show(), avoiding the flicker of RHI switching. Change-Id: I0aaa5a4128f089bfc9ef68d25cab44da78962eb6 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit d7e0fd5304ebdb12c6f809cdbcf8193b49b9ecd2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Fix simplebrowser build with Qt 6.3Peter Varga2022-08-182-0/+10
| | | | | | | | | | | | | | | | Task-number: QTBUG-97829 Change-Id: I0034a1350bf1a0bf01914f0216dd37859e3e7163 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8ad3a73590029d8284bae1e81a169dbc21c723aa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Use SPDX license identifiersLucie Gérard2022-06-2371-3180/+142
| | | | | | | | | | | | | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I869ffda1080e283f231eb0dc4477b260f2054d99 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 9b9d789fcb8f63a8998f1eefe44f2a1c8156c362) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Fix simplebrowser build with Qt 6.2v6.4.0-beta1Allan Sandfeld Jensen2022-06-112-0/+12
|/ | | | | | | | | This is a partial revert of 83e5b3c3e19deedfcad0dcb8116b3e6c931b8f6c Change-Id: I79e814075415585b4d4a3b04a92b3ad84d2dfa53 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 4ffc841ba7e9de4be8b2a2eed95cff5278a708ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Implement File System Access permission APISzabolcs David2022-05-262-0/+34
| | | | | | | | | | | | Allow web pages to safely access the local file system by exposing a permission API. Permissions are stored in-memory. The built-in access rules are the same as the behavior of Chrome: JS can't request access to system libraries, sensitive directories and the application itself. Task-number: QTBUG-97829 Change-Id: Ic675422cafbad5a90243b4fa8f0749c46afa192c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Spellchecker: Fix and clean up qmake build of the examplePeter Varga2022-03-312-8/+7
| | | | | | Pick-to: 6.2 6.3 Change-Id: Ia41c1e385f1bf527cbe636f150d97790adc8f21c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* CookieBrowser: Make alternating rows readable in dark modePeter Varga2022-03-231-1/+1
| | | | | | | | Use colors from default QPalette instead of hard-coded values. Pick-to: 6.2 6.3 5.15 Change-Id: Ib7cb8ef4bb5ddabc2233ea6596c0527538275963 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix webui exampleAllan Sandfeld Jensen2022-03-181-2/+1
| | | | | | | | | | | Load the URL after setting the page on the view. This actually works around a real bug we need to look into. Change-Id: I32b2cfd3c940cb48584cc066709327b5dd02c1fb Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 0e06ccdafddabb26012f67631b303fa978e9eeee) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Improve examples CMakeLists.txtKai Köhne2022-02-2513-113/+53
| | | | | | | | | | | | | | | | | - Remove "# generated from xyz.pro" comment from 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 - 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: I09083474432ce171e8ee1e28120b062f2ef3c052 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Simplebrowser: fix compiler warningsBalazs Egedi2022-02-102-3/+3
| | | | | | | | Adapted to the new addAction syntax. Pick-to: 6.3 Change-Id: I260f57e8536312a6b2f53c8b55953813baf22a5c Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Switch examples to build as isolated sub-buildsAlexandru Croitor2021-12-151-13/+13
| | | | | | | Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: I8539fee3ea7311acf9ee4e736fb19e6ff595fcae Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add cmake api for 'bdict' dictionary conversionMichal Klocek2021-11-171-29/+6
| | | | | | | | | Fix spellchecker example and test to use new api. Note we should not use qt6 prefix in cmake api in examples. Change-Id: Ib800bf2b7bd83e10060fa01ccd8d4a262752e09b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Remove broken homepage link from markdowncss attributionLuca Di Sera2021-11-082-2/+1
| | | | | | | | | | | | | | | | | | | | | | QtWebEngine uses Keving Burke's markdowncss for two of his examples. An attribution file is provided for both uses, pointing to the homepage of markdowncss "https://kevinburke.bitbucket.io/markdowncss/". Nonetheless, the project is currently unmaintained and the homepage doesn't exist anymore, meaning that the link to it is broken. As there is not a reachable homepage anymore, the "Homepage" key for markdowncss attributions was removed from the attribution files. A link to the same page was changed to the link to the bitbucket repository, which is still reachable, in the documentation for the affected examples. Task-number: QTBUG-96127 Pick-to: 6.2 Change-Id: Idd6c163eebeb2a2292ae76a73289fda5faa12b0a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Minor. Cleanup qt6_add_resources usageMichal Klocek2021-10-289-10/+10
| | | | | | | | We should not use qt6 prefixed functions in examples. Pick-to: 6.2 Change-Id: Ibf2618ef4f64b560decb219527d619aad680f216 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>