summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* QQuickWebEngineView: move using declarations outside of QT_DEPRECATED_SINCE ↵Ivan Solovev2023-08-211-3/+2
| | | | | | | | | | | | block Because they are also used in the code which is not guarded by the deprecation checks. Change-Id: I42383ba0f11b08df5602bfa9e0d8d816d2b96be7 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit c252bc6d47d325241a00258b3ce66b42a716d788) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port away from QVariant::canConvert(int)Ivan Solovev2023-08-211-1/+1
| | | | | | | | | | This API was deprecated in Qt 6.0. Use QVariant::canConvert(QMetaType) instead. Change-Id: I96e387536384d984b4130875f13ec0e6d027e928 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 6e745ae1ec16efa000ee3512e5306dc09d4a0682) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port away from QLibraryInfo::location()Ivan Solovev2023-08-211-2/+2
| | | | | | | | | This API was deprecated in Qt 6.0. Use QLibraryInfo::path() instead. Change-Id: I1e47b41386c1955307785690bccb19843b0dc4b5 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 6812131178efaeeaba26123c1671877ac3685034) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port away from QTouchEvent::touchPoints()Ivan Solovev2023-08-211-1/+1
| | | | | | | | | This API was deprecated in Qt 6.0. Use QPointerEvent::points() instead. Change-Id: I04140ef4f45399c781b1ea5c479b97138237ac49 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ca737030c634285e2758c5baca1d8c1c386766e7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QPdfLinkModel: mark the destructor as overrideIvan Solovev2023-08-211-1/+1
| | | | | | | | | | | | ... because it does. Found during Qt 6.6 API Review. Change-Id: Ia8f27d3ca1cca0141bd6de7874ba20225171fb63 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit bad7ed9a00cfec66cb246cb23fdf9e7849966d2f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port away from QScopedPointer::take() - trivial caseIvan Solovev2023-08-212-6/+10
| | | | | | | | | This API was deprecated in Qt 6.0. Use std::unique_ptr instead. Change-Id: I6bdb4db129b6a669eeb3fac6b4c0b097087ec082 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit f65a88d715a31a0902b1b96761babacf6b1e2f50) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Check for pkg-config dri module on LinuxAllan Sandfeld Jensen2023-08-211-1/+7
| | | | | | | Change-Id: Ifebdbbead1882fa0aa3c3c253c16cea17bd32f09 Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit f14eddb25ec9604f4e706db1577b8ce07d247c73) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix close button in devtoolsMartin Negyokru2023-08-212-1/+6
| | | | | | | | | | Handle CloseWindow call coming from DevtoolsUIBindings. Fixes: QTBUG-115976 Change-Id: If58a96e3901234696c55c9c1402c645ba7a8576b Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> (cherry picked from commit e4eb2dd213df10fb470279763f1ec64e41f26b56) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add missing AltGr mapping in windowsKeyCodeForQtKeyMartin Negyokru2023-08-211-0/+2
| | | | | | | | | | | | | | Unknown windows_key_codes are calculated from native key codes, breaking any remapping. Although it is named windows_key_code it is used on other platforms too. Fixes: QTBUG-115844 Change-Id: I53956fd6c18a6b85afe97b82696ba4f49618008c Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 888afe6d733115c04d28cbc348a5c26ddd77d233) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Output web engine process dSYM info to the builds lib directoryMichael Brüning2023-08-181-1/+2
| | | | | | | | | | | | | | It is necessary to install the web engine process in a structure that enables users to have their applications notarized after using macdeployqt without deleting or moving the dSYM directory manually. Depends on qtbase/ebb361ee3f02d677460fc2b55a47c6cd4bbbc489 Fixes: QTBUG-99555 Change-Id: Ia98187ecc2a3058c5c58131403c768784c1ba893 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit dd8268d5fbab092fbd936edb618d9d5b7546a431) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Replace string literals with already defined constantsMichael Brüning2023-08-181-3/+3
| | | | | | | | | | CodeChecker gave us a friendly hint that our defined constants were not used as they were intended to be. Change-Id: I4d7ae374222000f97f4c4869c9d1e7f357e1cd5f Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit d65add56d146211c5ce53ab1e2fbdd8058f020d5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QPdfPageSelector: add missing \since 6.6Marc Mutz2023-08-181-0/+1
| | | | | | | | | Found in API-review. Change-Id: I1e92d098d38d5f2fcf7f1c8c9aed6e792a8deb2e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 760540d18fc4df52e328430fb7b14e67d386a2d2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QPdfPageSelector: remove unused fwd declarationsMarc Mutz2023-08-182-3/+0
| | | | | | | | | Found in API-review. Change-Id: Ibd5bf18706833e2a8e8a00b132570f75306fa583 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 4df45d3ee6ca8944302f17b04a5cac073849aa40) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebenginev6.6.0-beta3Qt Submodule Update Bot2023-08-161-4/+4
| | | | | Change-Id: I0a1b98e57973600d258ce4794d52e31c84fa396b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QPdfPageSelector: mark dtor as overrideMarc Mutz2023-08-161-1/+1
| | | | | | | | | | | ... because it does. Found in API-review. Change-Id: Id1004406dbffeb92eb5297ce1623fc609d511494 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit a17fe1a5f7100be4ccad0a8f9033ebf070e455a6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QPdfPageSelector: port from QScopedPointer to const std::unique_ptrMarc Mutz2023-08-161-1/+3
| | | | | | | | | | | | The former is on extended life-support, there's nothing a const unique_ptr does worse, so use the future-proof version. Found in API-review. Change-Id: Ic734b45b991b1ff81454c86b6a159897f06f815b Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 1df024a1ac83e6e9c288421a125df8d51770aeff) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-08-151-4/+4
| | | | | Change-Id: I440ca2b886c3f7962f2b1b10f711206230bc5c82 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-08-151-4/+4
| | | | | Change-Id: Id5388683a3c160690e426e572ae8468cbe53ca33 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add missing type to Dns Mode enumMichal Klocek2023-08-141-1/+1
| | | | | | | Change-Id: Ie4f63415c04b2b699500414a78cee2a6bb015dc5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit a43e832284cd8d58d58b63f983d8fdf42e51cae4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* List need for C++20 support in Platform NotesMichael Brüning2023-08-141-0/+1
| | | | | | | | | Chromium 112-based seems to assume C++20 support by default. Change-Id: I145722e1873ba6afc80b567452437095640457a1 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 2da82ea7c211bbf1b576aa7c2f9f5db10754ec48) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add initial internal version pageMichal Klocek2023-08-1411-5/+143
| | | | | | | | | | | | | | | | | | We kept urls in examples to point to company website. However this site is heavy to load and moreover it changes overtime leaving example screenshots obsolete. Introduce internal qt version web ui page which will be default page for examples and which displays basic information and can work offline. For start show version info and command line options for chrome://qt Change-Id: I0271ce6e7b152efe4942a6240b0c74ba382d5fcc Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit a748cb9183143b76cad1e940220dcabf25475493) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add NSCameraUsageDescription and NSMicrophoneUsageDescription to plistsMichael Brüning2023-08-144-1/+23
| | | | | | | | | | | | | | | | Quick Nano Browser and Simple Browser need this to be able to use the camera and microphone on macOS. Also document the need for signing the applications in the examples documentation. Task-number: QTBUG-114939 Change-Id: I7a260a7ec62138fec8f7b4d6c1f2009eee9004d6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a63e5b1f0e4b65c5ce59e705129ab368677a94a8) Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Prevent QWebEngineCertificateError from being exported twice to QMLIvan Solovev2023-08-141-1/+8
| | | | | | | | | | | | | | | We need to export the type as a value type, and also export its enums in a namespace. This resulted in duplicated entries in the qmltypes file, which confuses Qt Design Studio. Fix it by introducing a derived class, and using it for exporting the enums. Fixes: QTBUG-115365 Change-Id: I5900f4f76fb6357c9262496cc3cc01b276387e46 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit df4121886dfa11cf90e74c72b1121a96462726bf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichal Klocek2023-08-111-0/+0
| | | | | | | | | | | | | | | Submodule src/3rdparty fe861d4b..2d71c20d: * [macOS] Do not subscribe to display callbacks when GPU is disabled * Make NetworkContext resettable * [Revert] Destroy old network context before creating the replacement * [Revert] Expose StoragePartitionImpl::InitNetworkContext * Add internal version page * Bring back *://localhost/* exception for Hangouts extension Change-Id: Ia42fdf08eeea919a780591ee2e9bbdb2cf7e3059 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 800cf14c284690d4f6584abe471b396ed3e4cf21) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Promote Qt6::WebEngine* cmake targetsKai Köhne2023-08-113-3/+3
| | | | | | | | | | | Be consistent with the other modules, and promote Qt6:: targets instead of the (mostly functionally equivalent) Qt:: one's. Change-Id: I4da0b7a29782d8927de5e5eafcaf934afb128937 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 58ec902ec47284eee430715ddd39a30d871a18e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Rename disableReadingFromCanvas to follow naming styleAllan Sandfeld Jensen2023-08-118-29/+32
| | | | | | | | | | | | We prefer to name settings with Enabled at the end. From API review. Change-Id: I7aacc6dbb92d852fd21b067475d2fd9e7df56163 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> (cherry picked from commit b10ac195de4dac7157575e2899cc19ec45fe1648) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make webengineview::save a slotAllan Sandfeld Jensen2023-08-111-4/+3
| | | | | | | | | From API review Change-Id: I7071b05bd92eaefd922913e2800e4b9ade71ec1f Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 73a25202670d7383e3b18319c29fd60f373eb3ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Update example category namesKai Köhne2023-08-1016-9/+16
| | | | | | | | | | | | | | | | | WebEngine examples are generally added to the new 'Web Technologies' category - only Nano Browser remains also in the 'Application Examples' category. The 2 Qt PDF examples are placed in the 'Graphics & Multimedia' category. This is not ideal, but from the existing categories the arguably best matching one. Task-number: QTBUG-115174 Change-Id: I3824272f62a4940f91041c8694fd2a06929863ed Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 74aaaa25a1e21a15effc701edd23513eab9e4bdc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-08-081-4/+4
| | | | | Change-Id: Ic2c34a4f7e6333bd0b6302288e4b2cb9e9f463bf Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fixup: Support MSVC 2019Michael Brüning2023-08-074-3/+3
| | | | | | | | | | Commit aacf93e14a6f102b79f4506b334ae8a4b014f0c2 contained a preliminary SHA1 for the qtwebengine-chromium repository. Update docs and the Chromium security patch version. Fixes: QTBUG-115713 Change-Id: Ic50d191b614144e624c747657303a0aff09907cd Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix PDF page label search: don't trim in QPdfDocument::pageIndexForLabel()Shawn Rutledge2023-08-063-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | In the 6.6 header review it was suggested that the caller should do the trimming if necessary; avoiding it here is more efficient. So far the only caller is QPdfPageSelector (although we may need to implement the same feature in the Quick PDF examples at some point). Typing page labels into QPdfPageSelector didn't work because QPdfPageSelector::validate() was not overridden. Now we reuse pageIndexForLabel() for that too: if the label is found, it's valid; if the label is not found, we just assume the user is not done typing yet. There's no QPdfDocument function to do a substring search for page labels, or to return the whole list of them either. It seems they can only be gotten one-at-a-time via the FPDF_GetPageLabel function. Now it actually works in the widget-based example qtwebengine/examples/pdfwidgets/pdfviewer/pdfviewer: if you load a document that has some Roman-numeral-numbered preface pages and type e.g. " iii" into the spinbox, it jumps to page iii. Fixes: QTBUG-115476 Change-Id: I070338effee1bbf916581c5ba964367424b786b2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit c439786616ade9436a599806e67199ffa93f9c91) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Rename QPdfView::currentSearchResult() -> currentSearchResultIndex()Shawn Rutledge2023-08-064-16/+16
| | | | | | | | | | | | | I don't think it was very confusing, but just in case we could want a currentSearchResult() returning the actual result object at some point. It was a suggestion from header review. Amends 288e9be6ba2be40761333036f3397298df5e1018 Change-Id: Ie3eb500e3a79b80b8abafbe19c48b57c7e9d71be Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 84a5d90fc43ead2ce2aa3bdaac2ca88241700d5d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Support MSVC 2019Allan Sandfeld Jensen2023-08-042-4/+4
| | | | | | | Pick-to: dev Fixes: QTBUG-115713 Change-Id: I45721005d1953c830ab95039827910b06800db54 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-08-031-4/+4
| | | | | Change-Id: If3d08e9ab881b321ddc5b20e248504ba212d65fe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix download button of PDF viewer pluginSzabolcs David2023-08-026-1/+253
| | | | | | | | | | | | | | | | | | | | The basic case of saving a PDF is easily fixed by installing PDFWebContentsHelpers in ExtensionsAPIClientQt for the proper WebContents. If the PDF file contains input elements and the user modifies them, the download button offers an option to save the modified file instead of the original. We need a minimal implementation of FileSystemDelegate, because this happens through file system access dialogs instead of normal "save as" dialogs. Task-number: QTBUG-104610 Task-number: QTBUG-113149 Change-Id: I756f9fe6c72ccb129b04282b2fda05602cbf54cd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit e9eadbb2772d22bec863ee331521f51e78541801) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Apply WebEngineSettings to guest viewsSzabolcs David2023-08-022-0/+12
| | | | | | | | | | | | | | Animated scrolling is always enabled in the PDF viewer and can't be disabled by the settings of the embedding web view. The guest view is still not present at the time when we normally apply settings to the main WebContents, it is only possible after it was properly attached. Change-Id: I6b2c99f67ad90bf028b7299280a9a8b0f31e9f65 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 6b46b4503d3672852b4bf590dd276ff4003b26c8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix crashing PDF viewer after changing the storage pathSzabolcs David2023-08-021-1/+23
| | | | | | | | | | | | | | Changing the storage path (and recreating PrefService) caused a crash in the extension system, because the pointer of the old PrefService was dangling in ExtensionPrefs. Recreating it as well seems to be the nicest way to update its dangling part. Task-number: QTBUG-115188 Change-Id: I46321b1737432c7d1cd6ec41c76e7803e69f2011 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 7af3d247a930baa3262654082c441f8a015889b6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use a different file name for v8 context snapshot in debug modeAnu Aliyas2023-08-021-5/+15
| | | | | | | | | | | - Use a different file name for v8 context snapshot in debug mode so that release and debug snapshots can live side-by-side. Fixes: QTBUG-115369 Change-Id: Ibe90e7abd45b9cd8b8471d3167b74876b6c4b4b2 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit b42d3c1968ba91f9e1c376f94befdb94aec0fa3d)
* Improve DNS-over-HTTPS configuration logicYigit Akcay2023-08-025-83/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch improves the DNS-over-HTTPS configuration and sets defaults for the general DNS logic. The following changes are included: - Insecure Chromium DNS client is always OFF (OFF is the Chromium default as well) - Add DnsMode::SystemOnly, which configures Chromium to only use the system DNS - The default DNS configuration is DnsMode::SystemOnly - Rename DnsMode::Secure to DnsMode::SecureOnly and DnsMode::WithFallback to DnsMode::SecureWithFallback to be clearer what each enum value does - Add error handling for invalid URI templates - Added test cases to handle the new logic - Some minor refactoring for cleanup purposes with the new defaults and logic taken into consideration - Some minor bug fixes Task-number: QTBUG-98284 Change-Id: Ie332166f8b5b83c8939af35e4eb8b69b417abdcf Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit a80b5d2299af8cea49ff0d2c02ae7632efe6d82b)
* Blacklist acceptNavigationRequestNavigationType again for qemuMichal Klocek2023-08-021-0/+3
| | | | | | | | | | | | e354d602e54 removes the test from balcklist however ci is blocked as test fails all the time now with 'expectedList.size() == page.navigations.size()' in tst_qwebenginepage.cpp(730) Change-Id: I6b2c1fbb5a6fa3c8ba3234e06501063638b309b8 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu>
* Update ChromiumMichal Klocek2023-08-021-0/+0
| | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty dd25f259..b5888eec: * Revert "Disable advanced arm64 control-flow" * Use a different file name for v8 context snapshot in debug mode * FIXUP: Add extensions to Qt build and fix it up for building * FIXUP: Fix vaapi support for QtWebEngine * Disable advanced arm64 control-flow * [Backport] Security bug 1443100 * [Backport] CVE-2023-3740: Insufficient validation of untrusted input in Themes * [Backport] CVE-2023-3737: Inappropriate implementation in Notifications * [Backport] CVE-2023-3732: Out of bounds memory access in Mojo * FIXUP: Fix license generation * FIXUP: Fixes for building with MSVC * FIXUP: Add missing include for Supplement * FIXUP: Fixes for jumbo build Fixes: QTBUG-115690 Change-Id: Ic4503791bd0d115681998ef7a22733a64aa665e6 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-07-311-4/+4
| | | | | Change-Id: I9285c38480b016ae4a84c2b75935b5257d1b0298 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Migrate hostcompiler test to cmake host projectMichal Klocek2023-07-304-9/+25
| | | | | | | | | | | Check for 32-bit support in case of 64bit compiler and cross-compilation. This is required as v8 context generator needs same bit width as target one. Change-Id: I921e9e657c9caa97d3c6b63f7c1c87ab1052c92f Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit b698955b933e20ef3cf83ed6c7bb8bbd7cce3aca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make visual studio configure check lastMichal Klocek2023-07-301-6/+5
| | | | | | | | | | | | Check first for the compiler version as visual studio test assumes the compiler is valid and the error message can be misleading in a case the test fails. Fixes: QTBUG-114875 Change-Id: Ie25185943845cbbfd0dc45334161fba245fb86ea Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 886c3fe8d5e7d9e4938943c04efb943660d4a96e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Do comments from api 6.6 reviewMichal Klocek2023-07-3014-23/+44
| | | | | | | | | | | Additionally make destructor out of line in qwebengineurlrequestinterceptor as it mirrors qwebenigneurlresponeinterceptor. Change-Id: I0cdf7eae9faa671415359368560fb8f6aabf05fe Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit ab21f39c6a54be331dd8a155d3374bfe790e0274) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix print button of PDF viewer pluginSzabolcs David2023-07-303-4/+17
| | | | | | | | | | | | Do not try to start print preview automatically, just notify the embedder via printRequested signal instead of crashing. Also fix the signal name in WebEngineView docs. Task-number: QTBUG-104610 Change-Id: I251e0b8f6f03a73236320a66a0d3c7690939d88b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 3801a9244cb57bfb6b6b08be652f42a135b71142) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix crash on Google Meet when dark mode is enabledSzabolcs David2023-07-301-0/+3
| | | | | | | | | | | | Extensions can use offscreen views to perform background tasks or isolate script contexts. Avoid access of non-existing Qt delegate by early return. Task-number: QTBUG-113369 Change-Id: I361df0afc0da30c1a013380e1c97973153ffbfd3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 0548893a182f2896c98ecc252e9811261a08d982) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix blacklisted qemu-arm64 testsMartin Negyokru2023-07-289-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - test_findTextInterruptedByLoad: Remove whitespaces from the text as it takes lot of time to render according to perf. It should fix the timeout errors. - loadStartedAfterInPageNavigation: Remove the viewport meta tag from test.html. The 2x scale is only applied in embedded builds, it puts some elements out of the view. - acceptNavigationRequestNavigationType: Refresh the reload.html page only once. On qemu it may reload multiple times messing up the list of navigation types. - horizontalScrollbarTest: Skip instead of blacklist. - tst_qtbug_110287: Use an url that loads faster. Task-number: QTBUG-105342 Change-Id: Ifbd41885fee62b12f7022534f9b8bd5e20cbef01 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit e354d602e5459dc27e209a0e62aefc4107cc8903) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Pump up required msvc/sdk versionsMichal Klocek2023-07-272-6/+6
| | | | | | | | | | | | Note Windows 10.0.22621.0 SDK is called Windows 11 SDK in VS installer, the latest still Windows 10 SDK version is not supported due to some enums missing in sdk files. Change-Id: I7c574121f94a7c9ac12d09277f3fb42a0593a475 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 4c12eab799ed4446d6a4a4d5cc7fbc9a3cf33217) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Disable Armv8 branch protection features for QEMU arm64 CIPeter Varga2023-07-271-2/+4
| | | | | | | | | | | | It significantly slows down v8 parser. The detection of the QEMU target relies on the environment variable TARGET_OSVERSION_COIN=qemu on the CI. Change-Id: I714d7b14bb90e13b6f5b31d4fccc19ae50c0700b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 40226c72b57ac3242eeed7dc378fac954e0d787c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>