summaryrefslogtreecommitdiff
path: root/src/core/doc
Commit message (Collapse)AuthorAgeFilesLines
* Add a clarification of GPL usageAllan Sandfeld Jensen2023-05-171-0/+4
| | | | | | | | | | We were listing Speech Dispatcher and XDG Shared Mime Info as GPLv2 contributions. Pick-to: 6.5 6.2 Fixes: QTBUG-113270 Change-Id: I9392cf12ad17a5f3efac0b245209a9ed946c2e51 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Remove mention of x86 cross-compilation on WindowsKai Köhne2023-05-031-7/+1
| | | | | | | | | | | | Qt 6 doesn't support x86 builds anymore. Also, the build fails due to Chromium issues. Also fixed a nearby typo. Fixes: QTBUG-113035 Pick-to: 6.5 Change-Id: Ic2310a365220c4b53d973da00b7285d933e2a622 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add qWebEngineGetDomainAndRegistry()Benjamin Terrier2023-05-021-0/+11
| | | | | | | | [ChangeLog][WebEngineCore] Add qWebEngineGetDomainAndRegistry() Fixes: QTBUG-105294 Change-Id: Ica40453f807b00c8548f974a495ddf84bbe8e194 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Add QWebEngineSettings::DisableReadingFromCanvasAnu Aliyas2023-04-241-0/+3
| | | | | | | | - disables reading from canvas. Fixes: QTBUG-84486 Change-Id: I3e181bfa6e351dea8dfa61f8010bafb94ea8a77d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Enable accessibility by default on LinuxCarl Schwan2023-04-171-6/+4
| | | | | | | | | | | | | | | | | | | | | Previously this was disabled unless the QTWEBENGINE_ENABLE_LINUX_ACCESSIBILITY was set, as the debian packaging was always enabling accessibility[1] even if a screen reader was not enabled. This is not the case anymore since 5 years ago[2] and now accessibility will only be enabled if a screen reader is detected. Which is the correct upstream behavior of at-spi2-core. So now enable accessibility unless QTWEBENGINE_ENABLE_LINUX_ACCESSIBILITY is set to 0 [1]: https://salsa.debian.org/a11y-team/at-spi2-core/-/commit/2a99b7b40526bbdf091cc574ec08d86c9a46f405 [2]: https://salsa.debian.org/a11y-team/at-spi2-core/-/commit/fde0bbead6aacefd0b5dcf9f6d36f7f50a2c0f3d Pick-to: 6.5 5.15 Change-Id: Ie5554f8b578dcca87a54dad525ae6a83d6f8f9d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add Windows 11 related note for Geolocation settingsYigit Akcay2023-04-031-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. Pick-to: 6.5 Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move custom dialogs example to manual testsMichal Klocek2023-03-221-1/+0
| | | | | | | | | | | | | This example shows how to use dialogs, however documentation already provides snippets for that added in 3cbe59e29a. The only missing one was tooltip, therefore add missing snippet and move example to manual tests. Task-number: QTBUG-108751 Change-Id: I84eda805455fb0276046ed1089389d605a8af672 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 6bf30525ee49d270dae6a6440bc607513f21237c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move quick minimal example to manual testsMichal Klocek2023-03-221-1/+1
| | | | | | | | Task-number: QTBUG-108751 Change-Id: I0998c46f051908855e0406e5fc7c0a422dc3eef0 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ed76eef004dbac15f4740d33d06d2b271bf770d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Use the new \attribution command in licensing documentationTopi Reinio2023-03-182-2/+4
| | | | | | | | | | | Since Qt 6.5, marking a \page as an attribution page is done with a separate command, \attribution. Update the Chromium licensing template and the Qt WebEngine licensing page to use the new command. Pick-to: 6.5 6.5.0 Fixes: QTBUG-112007 Change-Id: I1eac67bee72c078782d9334a604002011e1c3c86 Reviewed-by: Luca Di Sera <luca.disera@qt.io>
* QWebEngineUrlResponseInterceptor: Implement new URL response interceptorYigit Akcay2023-03-101-0/+45
| | | | | | | | | | | | | | | | | | | | | This patch adds the QWebEngineUrlResponseInterceptor abstract class, which, when implemented, allows a user to intercept response headers and modify them in any way they like. A response interceptor can be set via QWebEngineProfile::setUrlResponseInterceptor(), QQuickWebEngineProfile::setUrlResponseInterceptor() or QWebEnginePage::setUrlResponseInterceptor(). Also, the QWebEngineUrlResponseInfo class is implemented, which contains the request and response data to be used with the response interceptor. If a response interceptor is set in the profile and page, the one in the profile takes precedence. Fixes: QTBUG-61071 Change-Id: I484d14373ff597b1d531541c066f0102bae28c72 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Fix wrong WebEngineCertificateError property nameAndreas Eliasson2023-03-011-1/+1
| | | | | | | | | The correct property name should be type, not error. Fixes: QTBUG-111574 Pick-to: 6.5 6.4 Change-Id: I276823f5bc664a99153b31e5bba36ae34608a9b9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Support LTR and RTL text directions in input fieldsSzabolcs David2023-02-151-0/+4
| | | | | | | | | | Implement WebActions to temporarily change text direction directly from context menu - like Chrome does. They only work for the selected input field. Omit the "default" option since it is always grayed out in Chrome. Task-number: QTWB-67 Change-Id: I4bacbd82c6bd7261ac465eec9da3776613f98074 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable WebEngineContext dump by defaultPeter Varga2023-01-191-1/+10
| | | | | | | | | | | | | 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 Pick-to: 6.5 Change-Id: I4bd3c0e9eb532771f9b455863324e9dacaae884a Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Doc: Fix warning and minor clean-upPeter Varga2023-01-171-1/+0
| | | | | | | | | | - Fix typo in link - Qt Location is no longer linked in Qt WebEngine Features - Replace Qt Location with Qt Positioning module Pick-to: 6.4 6.5 Change-Id: Ia736fee8f0775fd6067c6f1e7a670b3bd7d8acb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix qdoc link failuresMichal Klocek2023-01-062-2/+3
| | | | | | Pick-to: 6.5 6.4 Change-Id: I6b18382a376bf3067323e801f6f39bf4ec09e9dc Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Revert "Pump up temporally warning limit for qdoc"Michal Klocek2022-12-161-1/+1
| | | | | | | | | | A required dependency for qttools is merged. This reverts commit f85b1381be8aeda4de7d364e4b51f09fc560c0c1. Pick-to: 6.5 Change-Id: If0f0a990a9f5ec2c8601057d803875f19893bf6a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Pump up temporally warning limit for qdocMichal Klocek2022-11-291-1/+1
| | | | | | | | | | | | | | | | | | qDoc on ci throws some "Unable to parse JavaScript" warnings for new examples. However this issue will be gone after removing JavaScript support form qdoc qtools change: ecf918398579030c9ba16f843595cfdbe774c00b The newer qdoc comes form qt5 change: 271cd0608c84016a285116fe1295d7d2e60f1c87 Task-number: QTBUG-106275 Task-number: QTQAINFRA-4926 Change-Id: I74bb515146587361d804ee6be8d2d37c4dd29671 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add client certificate exampleMichal Klocek2022-11-291-0/+3
| | | | | | | Task-number: QTBUG-106497 Pick-to: 6.4 Change-Id: I39e39a991362940bb35052d28254b7b12acaa105 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix Chromium version documentationAllan Sandfeld Jensen2022-11-241-3/+12
| | | | | | | | | | | Stop listing a number we forget to update, and document the process we use for selecting Chrome versions and patches levels. Pick-to: 6.4 Fixes: QTBUG-105146 Change-Id: I1cd632ef3fe3a4b1bf10a702a344ff69b2552d61 Reviewed-by: Vladimir Minenko <vladimir.minenko@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Emphasize in-memory and system stored client certificatesMichal Klocek2022-11-221-5/+7
| | | | | | | Task-number: QTBUG-106497 Pick-to: 6.4 Change-Id: If03062a5ab6cf5f6d14329637f44b5ea7675f65a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Update the docs related to the FaviconMichal Klocek2022-11-221-6/+23
| | | | | | | Fixes: QTBUG-106501 Pick-to: 6.4 Change-Id: Ib70020d947b3010d22315db3bd32c017e55f71c7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Emphasize QtNetwork is not usedMichal Klocek2022-11-221-0/+3
| | | | | | | Fixes: QTBUG-106510 Pick-to: 6.4 Change-Id: Ib6a63fb5796c437c14ba0885507a3cf6bf9d89f9 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add WebGL featureMichal Klocek2022-11-221-0/+11
| | | | | | | Fixes: QTBUG-106503 Pick-to: 6.4 Change-Id: I280be8707e803b6f01dbdffb76ab9cbce182b7af Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add Local Storage featureMichal Klocek2022-11-181-0/+26
| | | | | | | Fixes: QTBUG-106502 Pick-to: 6.4 Change-Id: I01dcec5e76db7921fc2597e6921e3bc6a6424aa8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add webengine-spellchecker build switch docsMichal Klocek2022-11-181-0/+9
| | | | | | | Fixes: QTBUG-106500 Pick-to: 6.4 Change-Id: I7a6fabd3526bd2aa164ac992be8cfd145106d7df Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Improve html5 geo location docsMichal Klocek2022-11-181-7/+9
| | | | | | | Task-number: QTBUG-106498 Pick-to: 6.4 Change-Id: I7e2b9d6b5cc3a3a9593303684d8f9eaf19f37dc8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Improve QWebEngineClientCertificateStore documentationMichal Klocek2022-11-181-0/+5
| | | | | | | Fixes: QTBUG-106497 Pick-to: 6.4 Change-Id: Ic10d2d54722b071eaacd9f7cb74b08c8ecedcd65 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add hardware acceleration featureMichal Klocek2022-11-181-0/+15
| | | | | | | Fixes: QTBUG-106496 Pick-to: 6.4 Change-Id: Ie1f74d5c9878f6079089007c1cc79a427e85bd70 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Fix feature listing order in docsMichal Klocek2022-11-181-63/+64
| | | | | | | | We keep features in alphabetic order. Pick-to: 6.4 Change-Id: I4716f3f71dd16e2f01f5f3ca8650ed3d1c25fe64 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Mention WebSockets in docsSzabolcs David2022-11-031-0/+16
| | | | | | | | | | | | | | | | 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>
* Doc: Normalize page namesKai Köhne2022-11-021-1/+1
| | | | | | | | | | | | | | qdoc does enforce lowercase file names for .html pages, and also replaces underscore with a dash. Make sure that the original \page name already is normalized, so that it's easier to search. This was done by find . -name "*.qdoc" -exec perl -p -i -E "s/\\\page (.*)/\\\page \L\1/ && s/_/-/g" {} ; Change-Id: I15ee29a8c1f41074671bcd1b4d67810ab0670255 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Luca Di Sera <luca.disera@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Cleanup and document webEngineArgs command line optionMichal Klocek2022-10-122-13/+25
| | | | | | | | | | | Fix usage of badcode vs code. This commit amends 82357352b49fdcba80727feec441053f676b5af2. Fixes: QTBUG-107502 Pick-to: 6.4 Change-Id: I50be8b37a81f33ef8e8dff3985d00f562542031a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Note DNS prefetches can overrule remote access permissionAllan Sandfeld Jensen2022-09-291-1/+2
| | | | | | | Pick-to: 6.4 6.3 Fixes: QTBUG-106967 Change-Id: I0407258403ec3b76ce694e0f592fe57b4f45c746 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update Qt compat documentationAllan Sandfeld Jensen2022-08-121-2/+2
| | | | | | | | Updated it for Qt 6.4 Change-Id: Ia3a115bfd5bb41bc1ebbb2b2258178b42b938dca Pick-to: 6.4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update minimum windows sdkMartin Negyokru2022-08-051-1/+1
| | | | | | | | | 102-based requires 10.0.20348.0 windows sdk. See: https://chromium-review.googlesource.com/c/chromium/src/+/3550827 Pick-to: 6.4 Change-Id: I5797020f56d76831bf957940974e2bc296adb429 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add environment variables to specify resources and locales locationsPeter Varga2022-08-031-0/+7
| | | | | | | | | | | | | - QTWEBENGINE_RESOURCES_PATH for resources - QTWEBENGINE_LOCALES_PATH for locales (translations) Pick-to: 6.4 Fixes: QTBUG-88595 Fixes: QTBUG-78646 Task-number: QTBUG-103760 Change-Id: I9208ab8cc154d89eae6053eb3c50f007be5ffbb1 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Use SPDX license identifiersLucie Gérard2022-07-083-59/+11
| | | | | | | | | | | Ammend 9b9d789fcb8f63a8998f1eefe44f2a1c8156c362 : some files were still missing SPDX headers Pick-to: 6.4 Task-number: QTBUG-67283 Task-number: QTBUG-104589 Change-Id: Ia4d2aae636bbdb1a99c422e3b8d3f097c3af34d6 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Doc: Do not advertise Qt module includeKai Köhne2022-07-083-15/+0
| | | | | | | | | People should rather use class includes, like they are advertised in each class documentation. Pick-to: 6.4 Change-Id: I3fc26c2ff01e35595959878c392dcafa2527d29f Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-2216-416/+32
| | | | | | | | | | | 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>
* Update docs and do not recommend to use msys2 or cygwinMichal Klocek2022-06-211-0/+2
| | | | | | | Pick-to: 6.4 6.3 Task-number: QTBUG-102633 Change-Id: I412c10cea98d87ffbbac40baa032261dca12dbf0 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiomKai Köhne2022-05-161-1/+1
| | | | | | | | | | | Using REQUIRED as a prefix instead of suffix works better with OPTIONAL_COMPONENTS, and is also the order in the CMake manual. Pick-to: 6.3 Task-number: QTBUG-98867 Change-Id: I57928fb56e2a154d91873dc869f6d314a7ea5fce Reviewed-by: Rui Oliveira Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add NavigateOnDrop settingsAllan Sandfeld Jensen2022-05-131-1/+4
| | | | | | | | | | Some applications want this to avoid users navigating away from their app content. [ChangeLog][Settings] NavigateOnDropEnabled added, enabled by default. Change-Id: I2cc370f60ef42c708042cbc2503207f8254cf932 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Doc: Update Platform NotesKai Köhne2022-05-111-4/+3
| | | | | | | | | Remove references to Qt 5, qmake (as build tool for Qt), and Visual Studio 2017 only. Pick-to: 6.2 6.3 Change-Id: Ied2de9de91693f167c5fb22f007c203bce18b543 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Clean up documentationAllan Sandfeld Jensen2022-05-033-8/+9
| | | | | | | | Make naming consistent, and fix a few links Pick-to: 6.3 Change-Id: I5b42ba92f8747d6bd86b1e84f74f6b15c80f444c Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Fix documentation of getter functionsAllan Sandfeld Jensen2022-04-221-0/+66
| | | | | | | | | | Add documentation file in doc dir, and add a related header as a documented header file. Pick-to: 6.3 Fixes: QTBUG-102743 Change-Id: Ibcbc39affe1915b0606e879a9ec5a1189f2d5aea Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adaptations for Chrome 98Allan Sandfeld Jensen2022-03-291-1/+1
| | | | | Change-Id: I607604f85a111a69da77ca949dddf3399b9721b3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Expand documentation on the chromium versionsAllan Sandfeld Jensen2022-03-051-1/+4
| | | | | | | | Mention runtime calls, and the file in sources. Pick-to: 6.3 Change-Id: I30fd5581272caec4e24ecc9a3ced82b99803eae2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update build documentationAllan Sandfeld Jensen2022-03-041-13/+8
| | | | | | Pick-to: 6.3 Change-Id: I2c6dffbd8683ed909ff985f672de1914be83422a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update documented Chromium versionsAllan Sandfeld Jensen2022-02-281-1/+1
| | | | | | | Pick-to: 6.3 Fixes: QTBUG-100911 Change-Id: If669b46634bf31f419a1cf41e24c0ddfdae5aab6 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Use a specific \ingroup name for qt_add_webengine_dictionaryTopi Reinio2022-02-211-2/+2
| | | | | | | | | | | | CMake manual uses module-specific group names when listing CMake commands. Also, change a \target to a \keyword as it fits this purpose better. Pick-to: 6.3 Task-number: QTBUG-100210 Change-Id: If9d075356c616ff5528f9a04e2d66bfb72e7a51a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>