summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Drop perl dependency for third party opusMichal Klocek2023-03-301-0/+7
| | | | | | | | | | | Opus needs perl to do some optimizations, in case there is no perl print the warning and drop the perl requirement. Fixes: QTBUG-111958 Pick-to: 6.5 Change-Id: I63a66e71fdaeae61d5c9dbcfe41f03bfb717bb75 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Rolf Eike Beer <eb@emlix.com>
* Update ChromiumMichal Klocek2023-03-301-0/+0
| | | | | | | | | | | | | Pulls in following patches: * e41707d576a Add support for custom gn binary to license generator * 8b8de6420db FIXUP: Jumbo build * 17d1d44b890 [Backport] Security bug 1401571 * 9de0d8a90d9 Fixes for building with GCC-13 * 4d558a69453 Opus needs perl for optimatizations Change-Id: I939daf2c2dcbcd7890bc24de591650f1a4eedd7b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Require gn for generating docsMichal Klocek2023-03-302-0/+2
| | | | | | | | | | | | | Make sure gn is build before doc target, otherwise parallel top level build might not succeed. As configure runs the gn binary is not compiled so use scripting mode to execute gn call during build time. Pick-to: 6.5 Task-number: QTBUG-108751 Change-Id: I7e851de90e2a3ec52f5259d51f677b23d8245bcb Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Minor. Small clean up of qmake leftoversMichal Klocek2023-03-281-288/+0
| | | | | | Pick-to: 6.5 Change-Id: I0ef7f97b3d76c43e815daeb7d6782215c08e4f7d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* doc: Add the QtPDF Licenses and Attributions sectionShawn Rutledge2023-03-285-0/+53
| | | | | | | Fixes: QTBUG-88482 Pick-to: 6.5 Change-Id: If58a8443afb38f372ca3dc7372472db888586dba Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add gn target to code attributions generatorMichal Klocek2023-03-281-13/+12
| | | | | | | | | Use gn_target for code attributions generation. Task-number: QTBUG-88482 Pick-to: 6.5 Change-Id: I4e5d063dec2347c10eb715a467bdd376e39e60af Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Get rid of our sync point managerAllan Sandfeld Jensen2023-03-284-25/+0
| | | | | | | | | We haven't needed our own since we got rid of the graphics node integration. Pick-to: 6.5 Change-Id: I20b0fdb440c07e451d0e0152e8012ddf59e159cf Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update initializationAllan Sandfeld Jensen2023-03-281-1/+5
| | | | | | | | Add missing calls to match RunBrowser() logic. Pick-to: 6.5 Change-Id: Ia4a14acb279cc43cc8ab4930f1f5432b03a8cbed Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Use docs target for chromium code attributionsMichal Klocek2023-03-241-1/+1
| | | | | | | | | | The target docs_WebEngieCore, which in the end calls generate_docs_WebEngineCore, is not a dependency for any other target in generated ninja file. Pick-to: 6.5 Change-Id: Ic2f1c93fed8fbb1a44e2f99365b15b7ec3e636f2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add quotes from removed example to documentationAllan Sandfeld Jensen2023-03-241-0/+14
| | | | | | | | | Task-number: QTBUG-108751 Change-Id: I5560c2104e28cb5ca753f5db3579feabf4723980 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fb2b93818c7ecd5c025b999b2521801da9f4fbc9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove webui exampleAllan Sandfeld Jensen2023-03-241-3/+16
| | | | | | | | | | | | 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 custom touch handles example to manual testsMichal Klocek2023-03-221-0/+21
| | | | | | | | | | | | Move and add missing parts as snippet. Task-number: QTBUG-108751 Change-Id: I25849941700337626ca46e399fdb52264bc4659a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> (cherry picked from commit 55f9fc348278b2aa8985ec9c1e7e092f88f68f83) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move custom dialogs example to manual testsMichal Klocek2023-03-222-1/+29
| | | | | | | | | | | | | 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-225-3/+48
| | | | | | | | 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>
* Move widgets minimal example to manual testsMichal Klocek2023-03-222-5/+11
| | | | | | | | | 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>
* QtPdf: Support more schemas when loading documents with qmlMichal Klocek2023-03-201-4/+2
| | | | | | | | | | This is follow up after efbb12954cf6e58, use same handling as for reloading on password change. Pick-to: 6.5 Fixes: QTBUG-87275 Change-Id: I1046f57f61346a2cbc03f50ca453209a855ea561 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* 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>
* Teach QPdfView to render search result highlightsShawn Rutledge2023-03-173-1/+100
| | | | | | | | | | | | | | | | | | The bounding boxes of all visible search results are filled with a translucent color on top of the page image, because we don't know whether the image is opaque or not. currentSearchResult is further highlighted by drawing bounding box borders. The colors are the same as PdfStyle.pageSearchResultsColor and PdfStyle.currentSearchResultStrokeColor, respectively. Perhaps they could be configurable somehow in the future, but it's not clear yet what API that ought to have, since we do not have suitable QPalette roles (except QPalette::Highlight, which is not translucent). Task-number: QTBUG-77507 Task-number: QTBUG-92973 Change-Id: I3df634229811e72d2d438a39997e0b4887d6bf11 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Make QPdfLinkModel public and use in QPdfViewShawn Rutledge2023-03-178-102/+193
| | | | | | | | | Now you can click links on pages in PDF documents in QPdfView. Task-number: QTBUG-77511 Fixes: QTBUG-102760 Change-Id: I348dcfd906be088aa3fcbe53aec4628b521cc2f3 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Replace Q_OS_WIN guards with BUILDFLAG(IS_WIN)Peter Varga2023-03-161-7/+10
| | | | | | | | | | | vulkan_implementation_qt.cpp doesn't include any Qt header and Q_OS_WIN remains undefined on Windows. Also include vulkan/vulkan.h for the WIN32 vulkan macros. Pick-to: 6.5 Change-Id: I66b9f134194526c055309bb72bd3a452e2b9a2b2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix syncqt include warningPeter Varga2023-03-161-2/+2
| | | | | | | | | WARNING: qwebengineloadinginfo.h includes QHash when it should include QtCore/QHash Change-Id: I244a9390421ade2344660b66a54d4bf99915f29a Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2023-03-111-0/+0
| | | | | | | | | | | | | | Submodule src/3rdparty 0dc29a1e..fdcde546: * Revert "DrawingBuffer: Remove RGB emulation support" * Fixup: "Revert "Remove unused ProduceRGBEmulationGLTexture calls with its usage."" * FIXUP: Workaround debug iterator issues with MSVC Pick-to: 6.5 6.5.0 Fixes: QTBUG-111585 Fixes: QTBUG-111784 Change-Id: I2493eb6f0defdba6460128e15b1f810398bab3ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebEngineUrlResponseInterceptor: Implement new URL response interceptorYigit Akcay2023-03-1017-4/+403
| | | | | | | | | | | | | | | | | | | | | 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>
* Update ChromiumMichael Brüning2023-03-031-0/+0
| | | | | | | | | | Submodule src/3rdparty bdb22d05..0dc29a1e: * Revert "Remove unused ProduceRGBEmulationGLTexture calls with its usage." Pick-to: 6.5 6.5.0 Fixes: QTBUG-111585 Change-Id: I2dabfbc1f79e4d61ff42273b001808c7237ab8cf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix not working password test for QPdfQuickMichal Klocek2023-03-021-3/+4
| | | | | | | | | | | | | In qml url can have different schemas like 'qrc' 'file' 'assets'. Make correct conversion so file can be loaded. Note check isLocalFile() is not true for qrc scheme. Fixes: QTBUG-106072 Pick-to: 6.5.0 6.5 6.4 Change-Id: I4dcc969e4c6d9b3f58ea5d81d20d8e81b55edfde Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Doc: Fix wrong WebEngineCertificateError property nameAndreas Eliasson2023-03-012-3/+3
| | | | | | | | | 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>
* Pass system library paths to cmakeMartin Negyokru2023-03-012-3/+3
| | | | | | | | | | | | Generate a new rsp file for each cmake target containing '-L' flags and pass them to cmake. Task-number: QTBUG-105053 Task-number: QTBUG-111225 Change-Id: Ib25c009795b776bc5f0f6e07fb89b932ef30b484 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a21742ef6064c1e84ebc43468d253dd14d86bf02) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix cross-compilation with system ffmpegMartin Negyokru2023-03-011-1/+1
| | | | | | | | | | We were using QT_FEATURE_system_ffmpeg which is not defined. Use QT_FEATURE_webengine_system_ffmpeg instead. Change-Id: Ic7b6d4ea91dc8b29f344118c28932fa80a7a8d10 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a75051ee7b4dd9ffe86e146d98c7d6412c756621) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix initialization of QWebEngineDownloadRequest::totalBytes for WidgetsPeter Varga2023-03-015-31/+28
| | | | | | | | | | | | QQuickWebEngineProfile already initializes totalBytes. Also clean up QWebEngineDownloadRequestPrivate and fix typo in documentation. Pick-to: 5.15 6.4 6.5 Fixes: QTBUG-104869 Change-Id: I8c4b79c076ddc63180960e22a9488b45ff6c4402 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix filesystem request qml namespaceMichal Klocek2023-02-271-1/+9
| | | | | | | | | | Unfortunately in 3494efe5d440 we register request incorrectly which does not work as intended with qml. Fix it and add namespace to qml registry. Pick-to: 6.5 6.4 Change-Id: I6965dd0a9b65021cd9c290aaecef9fb9fd82735a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix file url in webengine filesystem requestMichal Klocek2023-02-271-1/+1
| | | | | | | | | We should return filesystem url, not just string converted to url. Pick-to: 6.5 6.4 Change-Id: I883e4dd092396e918115cb609ed040c92a871737 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix use after free in permission grantMichal Klocek2023-02-274-2/+29
| | | | | | | | | The permission grant can become dangling pointer in origin state struct, fix it. Pick-to: 6.5 6.4 Change-Id: If16b604a8c3c05d09ea923251dabcae73192dd7d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2023-02-271-0/+0
| | | | | | | | | | | | | | | | | | Submodule src/3rdparty 10e54a07..bdb22d05: * [Backport] CVE-2023-0931: Use after free in Video (2/2) * [Backport] CVE-2023-0931: Use after free in Video (1/2) * [Backport] Security bug 1414224 * [Backport] CVE-2023-0928: Use after free in SwiftShader * [Backport] CVE-2023-0933: Integer overflow in PDF * [Backport] CVE-2023-0932: Use after free in WebRTC * [Backport] CVE-2023-0929: Use after free in Vulkan * [Backport] CVE-2023-0941: Use after free in Prompts * Add checksum to mailbox name in Release build too Pick-to: 6.5 Task-number: QTBUG-111363 Change-Id: I54ca00ef411d21eb02780f1096117d762472d5d1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add Origin Trial Policy supportPeter Varga2023-02-233-0/+27
| | | | | | | | | | | | | | | | | This makes SharedArrayBuffer available for earth.google.com For enabling certain experimental feature for a web page, the page provides a token in a meta tag for the browser. The token is requested by the web developer and generated by Google. The verification of the token happens without any server calls or network access. See, * http://googlechrome.github.io/OriginTrials/developer-guide.html#23-how-are-tokens-verified * blink::TrialToken::Parse() and blink::TrialTokenValidator implementation (//third_party/blink/common/origin_trials) Pick-to: 6.5 Change-Id: I6f102af8efcd12b6b267dceb9de59d685fd22f9e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add QtPdf android supportMichal Klocek2023-02-231-2/+4
| | | | | | Task-number: QTBUG-83459 Change-Id: I39915206859f031dd78798eeb7b2b49f4f148452 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2023-02-222-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 7e5ee9d6..10e54a07: * FIXUP: Fixes for building with MSVC * Fixup for [Backport] CVE-2023-0705: Integer overflow in Core (2/2) * Fix android on mac support * Add android config support * Merge branch 'upstream-master' into HEAD * Add android required resources for chromium repo * [Backport] CVE-2023-0696: Type Confusion in V8 * [Backport] Security bug 829317 (2/2) * [Backport] Security bug 829317 (1/2) * [Backport] CVE-2023-0705: Integer overflow in Core (2/2) * [Backport] CVE-2023-0705: Integer overflow in Core (1/2) * [Backport] Security bug 1400809 * [Backport] Security bug 1325096 * [Backport] CVE-2023-0701: Heap buffer overflow in WebUI. * [Backport] CVE-2023-0702: Type Confusion in Data Transfer * [Backport] CVE-2023-0699: Use after free in GPU (2/2) * [Backport] CVE-2023-0699: Use after free in GPU (1/2) * [Backport] CVE-2023-0703: Type Confusion in DevTools * [Backport] CVE-2023-0698: Out of bounds read in WebRTC (2/2) * [Backport] CVE-2023-0698: Out of bounds read in WebRTC (1/2) * Merge branch 'upstream-master' into 108-based * BASELINE: Update Chromium to 108.0.5359.220 Pick-to: 6.5 Task-number: QTBUG-111363 Task-number: QTBUG-83459 Change-Id: Id67893339f68e382e10ae10bbfddeffc8b60ae88 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Refactor devtools frontendMartin Negyokru2023-02-224-703/+130
| | | | | | | | Use chrome's UIBindings and message dispatcher. Pick-to: 6.5 Change-Id: I580b551153de8a0d34b70199c17a50df67237e73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix uniqueId() for accessible eventsPeter Varga2023-02-222-0/+16
| | | | | | | | | | | | | | | | | | QAccessibleEvent::uniqueId() expects child index to be set if the event object is set. If the index is not explicitly set the event interprets the unique ID as a child index what is invalid. This change fixes warnings like: qt.accessibility.core: Invalid child in QAccessibleEvent: QObject(0x1cc9ec25d60, name = "search") child: -2147483017 In case of an invalid child, uniqueId() returns 0 and this causes assert on macOS. Task-number: QTBUG-105988 Pick-to: 6.4 6.5 Change-Id: If068ab648226284bb3bd6502fc0381f4229d19e2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add missing foregin type for QWebEngineFileSystemAccessRequestMichal Klocek2023-02-211-0/+10
| | | | | | | | Add foregin type so it can be use within qml. Pick-to: 6.5 6.4 Change-Id: I8104874f2e898b170c8091a8fdeca450e59ae2a6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Minor. Small cleanup of qt webui factoryMichal Klocek2023-02-211-3/+3
| | | | | | Change-Id: I421948a1be346940c7d87873f56e2944e61ebbd8 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Force to disable IPC loggingPeter Varga2023-02-161-0/+1
| | | | | | | | | | | | | | | | | | | | | It is enabled by default in Chromium for debug build. See //ipc/features.gni. Disable it for debug build too because it adds and extra SetIPCLoggingEnabled mojo message (see //content/common/child_process.mojom) and it results different mojo message ids for the debug and release binaries. This is undesirable when setting QTWEBENGINEPROCESS_PATH environment variable to use release QtWebEngineProcess with debug browser process or the other way around. The messages and the corresponding ids can be listed by executing the following command in the QtWebEngine build directory: find . -name "*-message-ids.h" | xargs grep -h "constexpr uint32_t" Pick-to: 5.15 6.4 6.5 Task-number: QTBUG-110504 Change-Id: I80f24117ae20d02fb53ea482d04bea7a9dcb38c1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Support DecorationRole for icons in QPdfDocument::pageModelShawn Rutledge2023-02-161-0/+26
| | | | | | | | ...and begin rendering thumbnails in the widget-based example by adding a QListView in IconMode. Change-Id: Ia0f446e48ce868e27cd7d64a3712a7db1b1e618b Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Remove extra quotes from CHROMIUM_VERSIONMartin Negyokru2023-02-161-1/+1
| | | | | | | | | | This change unifies version macros and fixes invalid 'ContentBrowserClientQt::getUserAgent' after 1f4fdb06b13f0a9400f16313aad9296f019d2fc9 Pick-to: 6.5 Change-Id: I9df963a45f6d66c6b30c23d603afb335b6f25cce Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add QPdfPageSelectorShawn Rutledge2023-02-166-0/+210
| | | | | | | | | | | | | | | | | | This is a QSpinBox subclass that shows PDF page "labels" rather than a 1-based or 0-based page index. If a book starts with Roman numerals in the preface, and then page 1 is the first page of Chapter 1, the spinbox should be in sync with the page numbers as printed on the pages, and with the labels that will eventually be shown under the thumbnails on the Pages sidebar tab. On the other hand, the user probably needs to see the 1-based page index somewhere, at least to be able to make sense of the print dialog, because there the range of pages to print will be 1-based. So we put the page index into the title bar: title, page label, index, count. Task-number: QTBUG-102271 Change-Id: Ic461094ba4caae3067409f7f436bd4e7504a4bdb Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Update Chromium security backports version informationMichael Brüning2023-02-151-1/+1
| | | | | | Pick-to: 6.5 Change-Id: If905393d73892256175ac5059503a9fc4a6a32f6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2023-02-151-0/+0
| | | | | | | | | | | | | | | | Submodule src/3rdparty 331447653..7e5ee9d6a: > Fix vaapi support for QtWebEngine > FIXUP: Qt GN integration > [Revert] Remove dependency on libgbm > [Revert] Avoid using libdrm > FIXUP: Fix building with system ffmpeg > FIXUP: Fix building with system ffmpeg 4.4 or 5.1 > FIXUP: Fixes for jumbo build > FIXUP: Stop using C++20 initialization Pick-to: 6.5 Change-Id: I98fed6e23e55133946dcf3673ef74039d270f263 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Enable VAAPI and gpu memory buffers on LinuxAllan Sandfeld Jensen2023-02-1512-22/+329
| | | | | | | | | | Only seen working in vulkan and EGL modes so far. Does not work with system libvpx Fixes: QTBUG-91677 Change-Id: Ie2956c2b841854c78fc1af3c1010fb877728acb1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Support LTR and RTL text directions in input fieldsSzabolcs David2023-02-158-0/+53
| | | | | | | | | | 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>
* Add WebChannelQuick dependencyMichal Klocek2023-02-152-1/+6
| | | | | | | Reflect latest changes to qtwebchannel. Change-Id: I10bc1690dc32ce1bb61ed9dabc7f31a44d2fdf7e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Define an enum for FPDF rotation int valuesAxel Spoerl2023-02-142-16/+26
| | | | | | | | | | | FPDF uses int values defined in fpdfview.h:955ff, representing page rotation. Respecting coding style, this patch adds an enum in QPdfDocumentPrivate to introduce meaningful names instead of int values. Pick-to: 6.5 Change-Id: I54cefe336de3670026cfc4d7f4436e5898e43b54 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>