| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Change-Id: I02b56884d2daa612d73d854b611857ea0048f8ae
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: I44f06a0fb646eea8e3621472cbe35a8ce0b3e867
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty a3fcb1e2..55749ed0:
* [backport] CVE-2025-24201 2/2
* [backport] CVE-2025-24201 1/2
* [backport] CVE-2025-2136
Fixes: QTBUG-134642
Change-Id: I5b7657b0f88f08365bdfd51818f1aa1279b14626
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit a953359ed855ad91b848f22e7d38b13d0f2eb61e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty b9e733ff..a3fcb1e2:
* [backport] CVE-2025-1915
* [backport] CVE-2025-1919
* [backport] CVE-2025-1921
* [backport] CVE-2025-1918
Fixes: QTBUG-134644
Change-Id: I04cd7417930cd43653a914be05781d40ba5df626
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 5425f083555c2b0761b4027bbceb41c513be0957)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: I8f451aa3503a951a8594172b7fccd6bb29fed815
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty c8dcfa48..b9e733ff:
* [Backport] Security bug 396481096
* [Backport] CVE-2024-11477 / Security bug 383772517
* [Backport] CVE-2025-1426: Heap buffer overflow in GPU
* [Backport] CVE-2025-1006: Use after free in Network
* [Backport] CVE-2025-0999: Heap buffer overflow in V8
* [Backport] CVE-2025-0996: Inappropriate implementation in Browser UI
* [Backport] CVE-2025-0998: Out of bounds memory access in V8
* [Backport] Security bug 390465670
* [Backport] Security bug 379418979
* [Backport] Security bug 378917565 (2/2)
* [Backport] Security bug 378917565 (1/2)
* [Backport] Security bug 359992017
* [Backport] CVE-2025-0762: Use after free in DevTools
* [fixup][ffmpeg] Fix building with system ffmpeg
* Disable DCHECK in property_tree.cc, layer_tree_impl.cc
* [fixup][msvc22] IWYU adding missing includes
* [fixup][msvc22] Add missing include for Supplement
* Fix invalid iterator access inside LockManager
Fixes: QTBUG-133881
Fixes: QTBUG-133889
Fixes: QTBUG-133883
Fixes: QTBUG-134132
Change-Id: I4ddef14e27dc7f5517571f6fca9dc074a109fba3
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit f488766eb4f716158c7f993a8fe33e942d2da5cc)
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
|
|
|
| |
Change-Id: I3134fdeddb32f55509c8248abe408c94a78a8fa1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes:
- turning VERIFY_SOURCE_SBOM ON
- adding rules to the licenseRule.json files
- correcting the licensing given via REUSE.toml files
A lot of files are skipped during the license test,
but all are present in the source SBOM.
This is why corrections are needed before turning the
source SBOM check on.
Task-number: QTBUG-131434
Change-Id: Iabe0bee0ed0fc9de42ee69508eb0dd7d84601647
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 815ea62cc2f4a20b8c19e6d62146e07c0876ab19)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 56065dae710699f332ccb9f1e306b639a6b284aa)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PdfStyle.qml:
(qdoc) warning: Unknown base 'QtObject' for QML type 'PdfStyle'
Fixed by introducing a doc dependency to `qtqml`.
qwebenginenewwindowrequest.cpp:
(qdoc) warning: Invalid QML property type: QUrl
(qdoc) warning: Invalid QML property type: QRect
Replaced with QML types (url, rect) instead.
qwebenginewebauthuxrequest.cpp:
(qdoc) warning: Can't link to 'WebEngineWebAuthUxRequest.WebAuthUxState.CollectPin'
(qdoc) warning: Can't link to 'WebEngineWebAuthPinRequest::reason'
Fixes: QTBUG-134248
Change-Id: I313dddba6a374e65c23d371437d0fb148374bd2c
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
(cherry picked from commit 5f976f185d3ead42e1dbb028deca60a2cfc0b9c6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e258edec23a24c6b308455c2706e945612787aff)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
| |
Change-Id: I9b56213b7d5235c9c1e3319776a0d33a696096e4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As a drive-by, refactor web_engine_library_info.cpp's fromEnv
occurrences to use them in the if blocks only and make the code a little
bit more readable.
Merge conflict resolution for 6.8:
- Adapt change to initializer list in
DownloadManagerDelegateQt::ChooseSavePath()
Change-Id: Ib3ee6390003bc6e196398979d992e71b7fc50a8a
Reviewed-by: Moss Heim <moss.heim@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 26c43ef73cf6a5184ded71d173224e1cd733c90f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2d73011de5276e997a9af159531a5830ba97b371)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
| |
Change-Id: I1a91b8fa3004d70f2467085f198d8eaa0ecfdc10
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 254d7db17d09b6c567a3c22567ba322ff952c358)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 0da0582bf8359180bca0edc91a97e5018a7155a9)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes rendering with newer Nvidia drivers on Linux.
- Make memory object dedicated to match Vulkan allocation
- Set tiling of the GL texture to match VkImage tiling
- Make the TexStorage command non-DSA to uniform GL calls
Amends 8ce04357b4ce39b8c4c2243991eae70f78f9b61b
Merge conflict resolution for 6.8:
- No GLHelper in 6.8, add GL function bindings to
NativeSkiaOutputDeviceOpenGL
- No GLXHelper and EGLHelper in 6.8, do not change guards around header
includes
Change-Id: I43e953412acf6d39b67dcd8af02aac4003fc5c8e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Moss Heim <moss.heim@qt.io>
(cherry picked from commit 558bbf10544c9c96cde4ef3c7923c8b3bb8aa237)
(cherry picked from commit 8de829cb150989673c6051d4c8e8d04b3b9c89db)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is already disabled with EGL.
Checking the existence of a GBM device is just not enough. It is
possible to create GBM device and buffer with nvidia driver but it
will not work.
Merge conflict resolution for 6.8:
- No GLXHelper in 6.8
Change-Id: I3806594371d3e266d499bdc396c8f2a4ca17580d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Moss Heim <moss.heim@qt.io>
(cherry picked from commit a3604e0a41b586d1f32865d9c60003ed31e46884)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b1b0246839b97a5c642ae8093e0c7d61a22eea37)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Factor GBM support detection out to avoid repetitive Nvidia checks.
Also add QTWEBENGINE_FORCE_USE_GBM environment variable to be able to
force disable/enable GBM and dma-buf code paths for debugging
purposes. Setting the variable to 0 force disables GBM, setting any
other integer value force enables it.
Merge conflict resolution for 6.8:
- No EGLHelper in 6.8
- No BUILDFLAG(IS_OZONE) in 6.8
Change-Id: I39fc0161467a6a8d86dd9f380be3bfb2018aa4e6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 284d269eda53575d681c5d9f91bc934cf19b2f07)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3aab3da507cc55dea5833369892c9a72b05082f2)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Merge conflict resolution for 6.8:
- Adapt change to initializer list in
DownloadManagerDelegateQt::ChooseSavePath()
Change-Id: I6d45505c808a48a1ea52ddbd39e74ada4c29136d
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit dbb7830eb9ed95ab9c2f105b850586a9a517cf16)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6736cf6e65cc83f74473c5c8863ec88b625a4c0c)
|
| |
|
|
|
|
|
|
|
|
|
| |
Merge conflict resolution for 6.8:
- No QWebEngineDownloadeRequestPrivate::answer() in 6.8
Change-Id: If6c704cf5dada72d2c5c069fcbbcfea16af845ac
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 2ccca2f0663e866b94fd1d7f0195ebff280583fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ae8651a621cb9f2b8a6678aabd57648a699acc59)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Missing entries in qt-installer-package-config.json
file caused some spdx files be excluded from Qt PDF
installations. Fixed this by adding those entries.
Task-number: QTBUG-133970
Change-Id: I9a8d857a05c2b93fbe6ff2fd70f2cd8c3644e53b
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
(cherry picked from commit ca222db0ac6780e1867adc598a919bdfe2777722)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2668a8e64de9e857714c4f1e5223391087cc873d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
All containers are non-const local variables, and the loop bodies
clearly do not modify the container, so can use ranged for loops
with std::as_const() to avoid the detach (attempt).
Fixes: QTBUG-115805
Change-Id: Ie3eec615112a32c44ef81e4c2e5879997e5dc619
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 0ff112a78af56ba03042872b4bb3066754f367f9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit eb3cdb90d3f802680df60a18e558f8db8b2b8c21)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Wait for the last interceptor to intercept
Change-Id: I830f2c71e75ab99bb037562445081eb23412e61f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Moss Heim <moss.heim@qt.io>
(cherry picked from commit 5d7a87193f976f9b118b45724603436b6c6ef84e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 8fcecc184e5450645a81ba191906e08f3ad3b300)
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
|
| |
|
|
|
|
|
|
| |
Change-Id: I07423cdaf68e7a7333e270f25983584655467e85
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit df367e1ffa8c166016dff2f1ec5b547033a9b5ba)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b1ba0a4cb74ba2bf42eebd0467908649af7d3b53)
|
| |
|
|
|
|
|
|
| |
Change-Id: I14bf140ba6dbfdedf1b010070ca8d92078fee8ea
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit c93e694728cf0661009851d4c3e547dd609924eb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5b543d32952802553257df9c401e2d13bc583169)
|
| |
|
|
|
|
|
|
|
| |
Change-Id: Ifb8e87cb5e49d71d7d8a61f99305d86a986aa032
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 100682f8954ba1de309976cd54c86982f5130ae7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3dee4ca7b3cbf078f7c5bb310f425ccb67ca26f9)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also add auto test for QWebEngineProfile::setHttpAcceptLanguage() to
validate if argument with quality values is parsed properly.
Change-Id: Ide3acfe93bfe2d4c6afd76bd7239f471942ea467
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 9164704c9a3b89c33f0c1cade84c4a11740c1833)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit da5f1c1cb51de0988f1a96a872d911a529969c40)
|
| |
|
|
|
|
|
|
| |
Change-Id: I1e819d5f570eb52d703691b6e7bd0de29adc9318
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 676eea8bbe4c3c943058561e4ceb02800fd6d76e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 131ddcbf9e7bf04d46f5bdc5c0c28d6179a8ed60)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We assume that DownloadManagerDelegateQt::DetermineDownloadTarget() is
always the starting point of a download request, but there are special
cases when a download item needs more than one target determination
(for example when the server is being killed during a large download,
Content API tries to check the target again before reporting the error).
Handle this case by not decreasing m_currentId and preventing the
manager class adding itself as an observer of the same item multiple
times.
Due to the weird internal state of DownloadItem
(INTERRUPTED_TARGET_PENDING_INTERNAL) it still counts as an in progress
download and its functions (e.g. Resume()) are inactive. Don't expose
this state to our users, just re-use the already provided target path
again and they will be informed about the issue in the next
OnDownloadUpdated().
Task-number: QTBUG-132479
Task-number: QTBUG-132473
Change-Id: Id8d39881b9225d76456edec150035e4331e752c7
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 56fbb0fa569287ab00538fbefd6abefe05c3141d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 95badf9e679cbf4cc5c90ea6569cb683894d8291)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A replacement widget for the obsolete QDesktopWidget might be created
while hovering a widget in an earlier test during destruction. The extra
widget is destructed together with QApplication so it is listed by
QApplication::allWidgets() in the subsequent tests.
For reproducing this issue run
./tst_qwebengine doNotSendMouseKeyboardEventsWhenDisabled deferredDelete
and keep the mouse cursor above the window while running
tst_QWebEngineView::doNotSendMouseKeybooardEventsWhenDisabled().
As a workaround take the extra widget into account when testing the size
of QApplication::allWidgets().
Change-Id: I84cfb75fcee944e8a22b7c12a725f131e96b3719
Reviewed-by: Moss Heim <moss.heim@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 5436b61f42e616d0d591e5b55d1e2a586dd4e5f9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit f60a380de78504c6e9e446d75a420e8a9fcf8893)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When PdfDocument is instantiated in some QML file that comes from
application resources, it can be surprising when giving a plain file
path to the source property that it tries to resolve it as a resource
URL instead of a filesystem URL. But this behavior is consistent with
how we handle URLs in other components, such as Image; and Image also
generates a QML warning if the file cannot be found.
Followup to 3159ac9ff7edf0eea93fa8331ea6cb8abc201ca2
Fixes: QTBUG-131841
Change-Id: I8fb66b321406e14c88ff1eb253d46742c0c99b5a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 8c07478a3b1d5eac8db3df0144e824fd0263f9ef)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit f26d74681fcc46dec443155f684287e1cf7701d3)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
macOS hides scrollbars by default, skip the scrollbar test.
Also replace QTRY_VERIFY with QTRY_COMPARE to get meaningful messages on
test failure.
Change-Id: I22b9cb55cd952ad0424271cb86ac68c7793281c2
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 845b4ed898183606a5cd4c18fb379a2723c7cf74)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit cc21b907007b5d8c9b444871813ec6b616b76685)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the test cases rely on context menu triggered by simulated user
action. Input events are suppressed by blink if the page is not painted
yet because the cc compositor deferred a commit.
See SuppressingInputEventsBits::kDeferCommits and
WidgetInputHandlerManager::DispatchEvent().
Wait for the HTML <body> element to be painted to make sure the
simulated mouse events will trigger the context menu.
Change-Id: Ic41c03fbceb4a12ff90fc601560d48a50db6488c
Reviewed-by: Moss Heim <moss.heim@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit ff77f316eb322b252155886f572e6561c5a2916f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2ff00521ffa7e422fefddb5b56040aad7c2fc5e2)
|
| |
|
|
|
|
|
|
|
|
|
| |
Some of them fix compiler warnings.
Change-Id: I93a605090567ae9cd2a101d83eeaac88f39b9ffa
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit ecb4782cbc058047068603f41140fe3e28e7d9a3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 64893881c14ba36ce7002e5177b9df2c19c18a88)
|
| |
|
|
|
|
|
|
|
|
| |
This may avoid unnecessary QString allocations.
Change-Id: I9b1c2d3ce06c6798f6b777660f897c02deb8fbfd
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 12f8f37e1a81fd9dcb5c2925e5a9b5e0df500ad1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3dcf43316be6f3383d232d649ae2a6c78a977fce)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test fail was reproducible on arm64 macOS but it could happen on any
platform if it is fast enough.
The about:blank page load is interrupted by Discarded lifecycle state in
the test. Loading about:blank can be so fast that the navigation is
committed before we could send the QWebEnginePage::loadStarted signal.
Interrupting the load at this point won't restore the previous commit
and breaks the test.
As a fix, load a page from the disk which load time is potentially
longer than the about:blank page's load time.
Change-Id: Id885f8a67b5566c5ad9024e40ce36153ff03f832
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 0730ae7dd64aeef7a23a3a108b95c5057292c56f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2d3eb5d56da519bf788704f24545082f82b176db)
|
| |
|
|
|
|
|
|
|
|
|
| |
Also add auto tests for validating javaScriptConsoleMessage()
arguments.
Change-Id: Ife6a2db66898a15071b6f8d082195794f2f45e27
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit ef4e9a07bda2e676a02435080355be30dc0abf09)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 4a6ff28b8797e16460d44675d85d57f11a1c6138)
|
| |
|
|
|
|
|
|
| |
Change-Id: Icd44c96715358c92f21e82e42352e58c3c8bc4d7
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit cb8527103f0f21155694345e75ed11afd7aeb8db)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ea6fac65ce76b2fac827579994e793d1c0659d1c)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While loading URLs, QtWebEngine will remove the old widget from the
layout and then add the new widget. When hiding the old widget from the
layout, it loses focus. As a result, the focus is not set to the new
widget. Modified the code to check whether the old widget has focus
before it is hidden.
Amends e227bbddbfc03c45735978f5b83994235225569a
Fixes: QTBUG-133649
Change-Id: Iac4b1317ed469bfa32e18f0e18361a2279b77cf6
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
(cherry picked from commit c8f8749e8810e33396b1dbf7f65e3b58f7b8be39)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 4942d3cee3f2c7bf643dea6901765252923509ed)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On macOS, Qt closes all popups when NSWindowDidResignKeyNotification
event is triggered by the OS, see QTBUG-105474.
This event somehow is triggered after we call show() on a widget. The
event might be triggered while the QCompleter's popup is already open
and it breaks the test.
Wait for the OS events to be processed with qWaitForWindowExposed().
Fixes: QTBUG-133590
Change-Id: I51b05df375046fcfb28ae213173a517d60216ae2
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 6845b1d256efd2abf5f45b333de3b03bb80a58a2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3670fe65d797a012cce3882df39c378eee61c12c)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The path to the Widevine CDM plugin on macOS was hardcoded to where it's
located on x64 machines, which led to DRM content not working on
ARM-based machines.
Fixes: QTBUG-133558
Change-Id: I723033dfd7d011b1d8635fb88549c7fd58331856
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit b13fd82027b73bc4addab727f9fa818d65c1dde0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 50b7e625daab642aba6d33546a366d5783e734cd)
|
| |
|
|
|
|
|
|
|
|
|
| |
- Fix path for -debug-and-release build
- Fix ".app: is already signed" error during build
Change-Id: I63c8a34be9e531fa07e2ac2f39ad4f6a67b4be65
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 9a66024228ecbc2251f7ea4185bda74d11c2c600)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ba8f5af7e688aa5e17c55ff96d2db6c3fe92031a)
|
| |
|
|
|
|
|
|
|
|
|
| |
Clang warns about these when compiling.
Change-Id: Idf0daf9f4b7c71fefaddb4531d9ed164e90d118e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit c4cd6aa4df40e8c62f2f1209e036286e6cec1b1f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a922d5905c4e329688db482c47476beb48794d4e)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So far we passed clang_base_path and clang_version
as major version of clang compiler so gn could assemble
clang runtime libraries path.
However this approach does not always correctly work
as some machines can have single or multiple number version.
In this case path can take a form of:
../XcodeDefault.xctoolchain/usr/lib/clang/16
some other machines have major,minor,patch level form, like:
../XcodeDefault.xctoolchain/usr/lib/clang/15.0.0
Moreover clang compiler version is 4 digit value, so this can
still have different variations.
Instead of trying guess the path based on some logic
simply ask clang compiler what is runtime dir path.
Unfortunately we can just push this path to gn since
this path has to be adjusted for target or host clang
runtime libs during gn run.
Therefore get runtime libs path from clang compiler, however
use it to extract version number which is used in filesystem
and this later is used to assemble library path in gn.
Cache the variable so we run this check once during configure.
Change-Id: I912ab7d5d7b32e1cbe19fa3e8da012f669f6bec7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit f13bb554d14bab8ba35d814d14c0e72c485f023b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit af78aa72e2425421cbb2919bdfbc8dbcc894ee11)
|
| |
|
|
|
|
|
|
|
|
|
| |
All our other examples use 3.16, and cmake 3.30 now gives a deprecation
warning about this.
Change-Id: If2aff723cedab0339ba506484b44bddd89858307
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit 7feb1ff93040ad1e40e86fadf04c107aa9f4806c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6ba27b8bc8ab191c743f046d4b58d574b4abf5a1)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The cmake command qt_add_webengine_dictionary was introduced in 6.3.
Add a link and a short description of the command in the spell checker
section.
Fixes: QTBUG-131904
Change-Id: I5f5a2f307ce972b36c5d57c4d2ba37dab2c37343
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit d813d9b8b37289d3c9773b443479e64d32faf9ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5c48638af3b31560305e6f1ad5617348d965b62f)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Fix QStringBuilder warnings when concatenating 8 bit characters
- Prefer single character over one character long string literals
Change-Id: Ibfec384b6e5421cb64255a5a52a43001724bf301
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 6a67fd58bd3c8a4d0483e7f55672d0d07273940e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ce7a29201777a85da3d89b10c12f0af6ebb94eee)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix some deprecated string literal compiler warnings
- Replace deprecated QLatin1String usages
- Use QLatin1StringView where QString conversion is not needed
- Replace QLatin1StringView usages with shorter _L1 suffix
Change-Id: I8adb6dcd06ac5dfc248d39455c14a26957876512
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 900ae370f5d6c06a29b08fd94523d30bdc089b88)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit fca622c2cc915fa9d980d7a715d88cc2dc8b443b)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Enables H264 on Windows with proprietary codecs.
Pick-to: 6.5
Task-number: QTBUG-117478
Change-Id: Ie46fcce555fac751e7eb5e90c0e079462dcadc0c
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Kaloyan Chehlarski <kaloyan.chehlarski@qt.io>
(cherry picked from commit 4a43f458ee9971aca82c1b28586be58f88ce8a8b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 073857250cc13c6627bb80dcba86d77d00345155)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty c5287f4d..c8dcfa48:
* [Backport] Security bug 385386138
* [Backport] CVE-2025-0611: Object corruption in V8
* [Backport] CVE-2025-0437: Out of bounds read in Metrics
* [Backport] CVE-2025-0447: Inappropriate implementation in Navigation
* [Backport] CVE-2025-0441: Inappropriate implementation in Fenced Frames
* [Backport] CVE-2025-0443: Insufficient data validation in Extensions
* [Backport] CVE-2025-0438: Stack buffer overflow in Tracing
* [Backport] CVE-2025-0436: Integer overflow in Skia
Task-number: QTBUG-133105
Fixes: QTBUG-133107
Fixes: QTBUG-133108
Change-Id: I0a0670b356905a51ae7a063970bfda3259e11b1a
Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
(cherry picked from commit d3c9c1d8cb8f9dac09e1fd3457a5850e029090d7)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The logging can be enabled with
QT_LOGGING_RULES="qt.webengine.compositor=true"
Change-Id: Ibf48c7bd9a6bf560e2ef2c88abb5f6c4fe122916
Reviewed-by: Moss Heim <moss.heim@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 36c8d988aa1cb9566bc1d41af6ddc8c6596cfb53)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 31651eb566d483bf49f9a45cf1802ef12a5a6481)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Also validate return value of QIODevice::open() and QBuffer::open()
calls.
Change-Id: I71ea58f62cab5aafdd2b4eca217394dddf0033cd
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Moss Heim <moss.heim@qt.io>
(cherry picked from commit 90fb632348ea5226a9aefd1e3707f112b80aa6b9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 73eb4a364eac89454dcf078ec4fecb4f69271808)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
| |
Change-Id: I759c02641bbb519135375054465795e7f3b1347f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 4c8ec6a5d35a773a2c4b358a4f150acf798b23ab)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c5c5c624c7df52b24814a5b191028c6c35633126)
|