summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [macOS] Add missing entitlements for https in notarized applicationsMichael Brüning2023-05-171-0/+2
| | | | | | | | | | There were reports about https pages being inaccessible in notarized applications when this entitlement was missing. Pick-to: 6.5 Fixes: QTBUG-113524 Change-Id: Ib55fe5cd934d5c1ccc06d44486551f16105ad22e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* 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>
* Update documentation for QWebEngineUrlScheme::FetchApiAllowedYigit Akcay2023-05-161-2/+3
| | | | | | | | Update the documentation to also mention that XMLHttpRequest Web API send method needs this flag if it contains a body. Change-Id: I7588fc0af441c48516e80f6c5f38b8e54771ba9a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Test for presence of local frame in runJavaScriptAllan Sandfeld Jensen2023-05-163-3/+21
| | | | | | | | | It can be missing if we are in the process of shutting down. Pick-to: 6.5 6.2 Fixes: QTBUG-113400 Change-Id: Ib494e479db08d51825c15f54354037c265ba96b0 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix use of system png for qtpdfMichal Klocek2023-05-161-0/+8
| | | | | | | | | | | | | | QtPdf has own png library which is controlled by pdfium_use_system_libpng and used by xfa. However skia dependency also pulls root third_party png and we need also use_system_libpng flag set accordingly. Add missing pdfium_use_system_zlib flag too. Fixes: QTBUG-112466 Pick-to: 6.5 Change-Id: I08b7b32e5fd0ffe08cf77421ff2f0965755304ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add system libtiff featureMichal Klocek2023-05-162-0/+8
| | | | | | | | | We use that feature when compiling pdfium for qtwebengine and qtpdfium if xfa enabled. Fixes: QTBUG-111626 Change-Id: I362739e7529f89b1705d3c25a1c9849b13a1a968 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Minor clean-up of gn argumentsPeter Varga2023-05-151-3/+1
| | | | | | Pick-to: 6.5 Change-Id: Idd33f032cc30cd40bffcb436eb007456d2dfb78e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix "redundant move in initialization" warningPeter Varga2023-05-151-1/+1
| | | | | | | | | Moving a constant reference makes no sense. Pick-to: 6.5 Change-Id: I1be8d8dd787592be528e1e5d08593595c4888ac1 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichal Klocek2023-05-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty b5e07b71..ff7e8305: * FIXUP: Add pdfium_use_system_libtiff build option * [Backport] Fix SharedImageFactory log message * Fix v8 context snapshot generator jumbo build compilation issue * Add pdfium_use_system_libtiff build option * Fixup for '[Backport] CVE-2023-1818: Use after free in Vulkan. (2/2)' * Bump V8_PATCH_LEVEL * [Backport] CVE-2023-1815: Use after free in Networking APIs * [Backport] Security bug 1428820 (3/3) * [Backport] Security bug 1428820 (2/3) * [Backport] Security bug 1428820 (1/3) * [Backport] Security bug 1404790 * [Backport] Security bug 1360571 * [Backport] CVE-2023-2137: Heap buffer overflow in sqlite * [Backport] CVE-2023-2134: Out of bounds memory access in Service Worker API * [Backport] CVE-2023-2133: Out of bounds memory access in Service Worker API. * [Backport] CVE-2023-2136: Integer overflow in Skia (2/2) * [Backport] CVE-2023-2136: Integer overflow in Skia (1/2) * [Backport] Security bug 1427388 * [Backport] CVE-2023-2033: Type Confusion in V8 * [Backport] CVE-2023-1818: Use after free in Vulkan. (2/2) * [Backport] CVE-2023-1818: Use after free in Vulkan. (1/2) * [Backport] CVE-2023-1819: Out of bounds read in Accessibility * [Backport] CVE-2023-1813: Inappropriate implementation in Extensions * [Backport] CVE-2023-1812: Out of bounds memory access in DOM Bindings * [Backport] CVE-2023-1811: Use after free in Frames * [Backport] CVE-2023-1810: Heap buffer overflow in Visuals Change-Id: I7562c85af9988cb93a73f09cee45089912d9539f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Improve rubber-banding in QT WebEngine PagesAnu Aliyas2023-05-121-0/+20
| | | | | | | | - Improved rubber-banding/elastic scroll behavior. Fixes: QTBUG-67716 Change-Id: Ida0ca19df12f08b78328cf8d8ee5dbd3e492fb16 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove unwanted space characters from content-type and character setAnu Aliyas2023-05-111-2/+2
| | | | | | | | - Removed leading and trailing space characters from content-type and character set. Fixes: QTBUG-112483 Change-Id: I7616ba7aa78e4d76121e8beb17f32f898e3734a6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Docs: Fix "Can't link to" example warningsSafiyyah Moosa2023-05-102-2/+2
| | | | | | | Task-number: QTBUG-113160 Pick-to: 6.5 Change-Id: Ic987711802db7eb32cdb15ac9f313d2203984981 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Disable EyeDropperAPIMartin Negyokru2023-05-091-0/+5
| | | | | | | | | | This patch fixes the devtools eyedropper. The EyeDropperAPI is an experimental feature which we don't implement and devtools uses it by default. Pick-to: 6.5 Change-Id: Iaa28ee5d0381750fc967dbc72d725b46b239a656 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* 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: I5eb3f91a180f2a844a2575ed19abc28a913ce5b9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix build race condition between data_dep and WebEngineCore.stampMichal Klocek2023-05-033-4/+34
| | | | | | | | | | | | | For v8 context generator data_dep race condition occurs on universal builds. As data_dep is runtime dependency, it will be not included into our linker WebEngineCore.stamp, changing the behavior in gn would look ugly as it would require introducing another flag to just to handle this case to force this dependency for build time. Therefore add extra v8_context_snapshot.stamp to cmake to cover that case. Change-Id: Ia8b2320fc8e615235bde483d282dfca73a38f215 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add v8 context snapshot support/featureMichal Klocek2023-05-036-5/+34
| | | | | Change-Id: I93e615293160d80c8a65b0152d2f820cfadbdb9d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichal Klocek2023-05-031-0/+0
| | | | | | | | | | | | Submodule src/3rdparty d3c3d748..b5e07b71: * Fix v8 context snapshot generator compilation * Fix build with ICU 70 * Fixup 'Fixes for jumbo build' * Avoid exporting API from static ANGLE builds * Collect extra gpu info on in-process-gpu too Change-Id: I9e40e5659e8d653b7988f57b98db8c0ec0c62386 Reviewed-by: Michael Brüning <michael.bruning@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-023-0/+26
| | | | | | | | [ChangeLog][WebEngineCore] Add qWebEngineGetDomainAndRegistry() Fixes: QTBUG-105294 Change-Id: Ica40453f807b00c8548f974a495ddf84bbe8e194 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix user script management when subframes are presentAllan Sandfeld Jensen2023-04-301-7/+12
| | | | | | | | | | Only the main frames should administer scripts associated with it. Pick-to: 6.5 Fixes: QTBUG-113109 Change-Id: Ibda66f55ef99da632134a9de1425797262faba9b Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu>
* Allow configuration of DNS-over-HTTPSYigit Akcay2023-04-286-9/+210
| | | | | | | | | | | | Implement QWebEngineGlobalSettings, a singleton class that contains global web engine settings (currently only for DoH). Allow the user to configure the stub host resolver to enable DNS-over-HTTPS. Fixes: QTBUG-98284 Change-Id: I1b06737c84e1b8d613aa257f4a891f82cac21013 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Don't show QtWebEngineProcess in the dockAnu Aliyas2023-04-262-0/+45
| | | | | | | | | | | - Added Info_mac.plist.in file - Set the LSUIElement key in Info_mac.plist.in to prevent seeing a jumping icon in the dock while the OS waits for the QtWebEngineProcess to create a window. - Set MACOSX_BUNDLE_INFO_PLIST to Info_mac.plist.in Fixes: QTBUG-112700 Change-Id: Ibd1dcc399ce440236b1d9b474191e3fc2f5c8ffc Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove assert on outer web contents in accessibilityMichael Brüning2023-04-251-3/+0
| | | | | | | | | It was introduced under the assumption that the accessibility would only not be available for guest views, but it is also the case for child frames. Pick-to: 6.5 Change-Id: I202b598cde98f84a40dcbb0ee24f2569c5d9ee65 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build with GCC 13Sam James2023-04-241-0/+2
| | | | | | | Fixes: QTBUG-111697 Pick-to: 6.5 6.2 5.15 Change-Id: Ife05645ae96d1e18727d8d79efbbd64f813b8dcd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add QWebEngineSettings::DisableReadingFromCanvasAnu Aliyas2023-04-245-0/+34
| | | | | | | | - disables reading from canvas. Fixes: QTBUG-84486 Change-Id: I3e181bfa6e351dea8dfa61f8010bafb94ea8a77d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* QPdfNavigator: emit forward/backAvailableChanged when jumping pagesJoni Poikelin2023-04-201-4/+4
| | | | | | | | | | | | | | QPdfPageNavigator did not emit the page history signals when pages were jumped. This patch ensures correct signal emission in all cases. It adds a new auto test class for QPdfPageNavigator. Fixes: QTBUG-112614 Pick-to: 6.5 6.2 Change-Id: I67af5a4d22a8e76b9c12c72c168fa5b3b4390f2c Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add WebEngineView::save() convenience APIAnu Aliyas2023-04-204-1/+33
| | | | | | | | | | Add the convenience method QQuickWebEngineView::save for saving pages without the need to explicitly handle download requests. Task-number: QTBUG-56093 Change-Id: I67909fdca6472d1ea9b32e0f89c1ab90219bca3b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Use paintRect instead of pageRect when printing to account for marginsYigit Akcay2023-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when printing via QWebEngineView::print(), the margins are handled by QPainter and not Chromium, unlike QWebEngineView::printToPdf() or QWebEnginePage::printToPdf(). The changes in this patch don't affect the latter two. QPainter handles margins by making a distinction between pageRect and paintRect, where paintRect == pageRect - margins. Furthermore, to actually apply the top and left margin, QPainter moves paintRect by (marginLeft, marginTop). This means that we have to draw what is to be printed in the size of paintRect and QPainter will move it to apply top and left margins. Right now, this is not the case, as we draw what is to be printed in the size of pageRect. QPainter then moves it, thereby the result contains the top and left margins, but overflows the page on the right and bottom, effectively cropping the final result. In this patch we fix this by using the size of paintRect instead of pageRect to draw what is to be printed when printing via QWebEngineView::print(). Pick-to: 6.5 Fixes: QTBUG-111909 Change-Id: Ibc7a9035e654e92d84a594c6dd1ec2efc6e108ff Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Support painting to Direct3D11 using ANGLEAllan Sandfeld Jensen2023-04-206-9/+71
| | | | | | | | Pick-to: 6.5 Task-number: QTBUG-112280 Fixes: QTBUG-109401 Change-Id: Iaebb79921030ce42bcfe8be1ba46d309c93dca6d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Disable devtools screencast by defaultMartin Negyokru2023-04-191-0/+11
| | | | | | | | | | | After 73acb3b3e devtools starts with screencast opened. Bring back old behavior. Fixes: QTBUG-112772 Pick-to: 6.5 Change-Id: Ifa1b860dc125e006ab5c2e3cd60a82980c32abe0 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2023-04-192-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 22fec96c..d3c3d748: * Revert "[Backport] CVE-2023-0704: Insufficient policy enforcement in DevTools" * Do not stop navigation during saving the page if not necessary * Pass through non-keymutex share handles * [Backport] CVE-2023-1236: Inappropriate implementation in Internals * [Backport] CVE-2023-0704: Insufficient policy enforcement in DevTools * [Backport] Security bug 1417585 * [Backport] Security bug 1418734 (2/2) * [Backport] Security bug 1418734 (1/2) * [Backport] Security bug 1415249 * [Backport] Security bug 1402921 * [Backport] Security bug 1337747 * [Backport] Security bug 1412991 * [Backport] CVE-2023-1532: Out of bounds read in GPU Video * [Backport] CVE-2023-1534: Out of bounds read in ANGLE * [Backport] CVE-2023-1531: Use after free in ANGLE * [Backport] CVE-2023-1530: Use after free in PDF (2/2) * [Backport] CVE-2023-1530: Use after free in PDF (1/2) * [Backport] CVE-2023-1529: Out of bounds memory access in WebHID * [Backport] CVE-2023-1235: Type Confusion in DevTools * [Backport] CVE-2023-1232: Insufficient policy enforcement in Resource Timing * [Backport] CVE-2023-1233: Insufficient policy enforcement in Resource Timing * [Backport] CVE-2023-1222: Heap buffer overflow in Web Audio API * [Backport] CVE-2023-1220: Heap buffer overflow in UMA * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (3/3) * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (2/3) * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (1/3) * [Backport] CVE-2023-1218: Use after free in WebRTC * [Backport] CVE-2023-1217: Stack buffer overflow in Crash reporting * [Backport] CVE-2023-1215: Type Confusion in CSS * [Backport] CVE-2023-1214: Type Confusion in V8 Pick-to: 6.5 Fixes: QTBUG-112166 Change-Id: I747f60f72cbf6847bc0ee89bee655972968da921 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add update-chromium target and unify 'Update Chromium' commitsMichal Klocek2023-04-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | To save some typing when doing 3rdparty udpate introduce 'update-chromium' target, which creates commit with nicely formated commit message with shas, it can be used for example with following steps: * qtwebengine repo is at the origin HEAD with nothing stagged * there are some new commits in 3rdparty * code compiles and there are no issues * make update commit by typing in <build_dir> * ninja update-chromium or * cmake --build . --target update-chromium * push the commit You can also create the commit from <source_dir> with: cmake -P cmake/SubmoduleUpdate.cmake Pick-to: 6.5 Change-Id: Ia6b051cd2df0646707c2cc88175245841728794f Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Yigit Akcay <yigit.akcay@qt.io>
* Enable accessibility by default on LinuxCarl Schwan2023-04-172-10/+9
| | | | | | | | | | | | | | | | | | | | | 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>
* Clear PDF search results on document page model changeMikolaj Boc2023-04-173-0/+15
| | | | | | | | | | | | Not clearing the search results leads to crashes when the incoming page model is larger than the outgoing model, due to internal state being still in sync with the old document, but the page count of the new document being used. Fixes: QTBUG-111067 Pick-to: 6.5 Change-Id: Ic81744ebe0cb7d1a152453721abd7d1b5c5fa2b9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Resolve duplicate symbol errorAmir Masoud Abdol2023-04-141-1/+1
| | | | | | | | | | | When doing unity build, `CharacterHitTolerance` collides with similarly named variable in `qpdfdocument.cpp`. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: If7ac4ec095c88bff38f3b62b4caac82f0bfd8368 Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Rework painting integration and support Metal RHI over ANGLEAllan Sandfeld Jensen2023-04-1218-115/+732
| | | | | | | | | | | | | Move graphics details into compositor, and add support for a native buffer mode uses ANGLE on the Chromium side. The initially support is for Metal. Pick-to: 6.5 Fixes: QTBUG-112282 Task-number: QTBUG-112280 Change-Id: I066ba1d3e72508e047d259ae5797659d45335fb2 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Better handling of interrupted PDF printingSzabolcs David2023-04-053-1/+13
| | | | | | | | | | | | | | | | | | | | | - Document the fact Stop WebAction can interrupt the in-progress PDF generation. - Update PrintViewManagerQt::PrintPreviewDone(): Normally IsPrintRenderFrameConnected() implies IsRenderFrameLive(), but we have to check both to avoid crash when render process exits. (Like Chrome does.) - Update PrintViewManagerQt::RequestPrintPreview(): Handle that case when print preview params were sent between processes at the beginning, but it was interrupted before RequestPrintPreview() could start PDF generation. - Add a simple auto test to catch crashes Pick-to: 6.5 Task-number: QTBUG-108154 Change-Id: I8a4f9cc97ddcf9a165d66a5981d93a023858fbc1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge recipe browser, stylesheet browser and markdown editor examplesYigit Akcay2023-04-051-1/+1
| | | | | | | | | | This patch merges the qtwebengine examples recipe browser, stylesheet browser and markdown editor into one single example. Pick-to: 6.5 Task-number: QTBUG-108751 Change-Id: I338707d7d3275b03bf2a2d7b65064ac91e562d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adapt to painting cleanupAllan Sandfeld Jensen2023-04-047-46/+31
| | | | | | | | | | Pass through alphaChannel requirement correctly, instead of having a nonfunctional hasAlphaChannel(). Pick-to: 6.5 Change-Id: I99adb17aa38fd91ea8fd93b86a352bc476690837 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix building on Windows and macOS with chromium EGLAllan Sandfeld Jensen2023-04-044-57/+34
| | | | | | Pick-to: 6.5 Change-Id: I6c7b37d7c53ff9ed872f5f95660c6cf7520e6bda Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Update ChromiumAllan Sandfeld Jensen2023-04-041-0/+0
| | | | | | | | | Pulls in graphics integration cleanup and must be staged with patches that adapt to that. Pick-to: 6.5 Change-Id: Icb6f485e201fd4edd7381965a5b007d866f8e5f6 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix gn<->ninja dependencies for qtpdfMichal Klocek2023-04-031-3/+3
| | | | | | | | | | | | | | We try to build qtpdf after qtwebengine is done. However "ninja docs" now depends on gn run and should not trigger module compilation. Therefore sync on NinjaReady target so GnReady for QtPdf can run just after gn binary is compiled and does not trigger whole qtwebenigne module build. Task-number: QTBUG-88482 Pick-to: 6.5 Change-Id: Iaf7f8ec631414c636915d53532bc85e84c5534a5 Reviewed-by: Michael Brüning <michael.bruning@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>
* Replace WebEngineAction example with a snippetMichael Brüning2023-03-312-1/+132
| | | | | | | | | Also moves the example to the manual tests directory. Task-number: QTBUG-108751 Change-Id: Ie3fa492cfcaf61ee26ed65fa22954bb6a6532d6e Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 23d1131577e1780de0552211a84357bcb1f63de5)
* doc: Provide a screenshot of the PDF Viewer widget example; rename pageShawn Rutledge2023-03-301-0/+0
| | | | | | | | | | | | | | | | Let's be clear in the title that this is a widget-based example, as opposed to the Qt Quick example in the docs. The screenshot is from macOS 13.2.1. The 6.6 example has more features, so this screenshot looks a bit incomplete compared to that. Pick-to: 6.5 Task-number: QTBUG-81560 Change-Id: I28b50d608756f10967f1bf5f7ac72ec9a83d9417 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* 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>