[qt/qt/qtbase]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt/qtbase
Pushed by mirror-service into branch '6.12'.
Changed from 65308bf9e1222a7facce4bc7c295dd016d972251 to 709ba93c4a72513f8bd03d38e824aafef0919dd9
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit ee21c8bfd007a8230a2f96b3cc6874768b0a8958 by Qt Cherry-pick Bot (on behalf of Joerg Bornemann) on 20/07/2026 at 11:04..
CMake: Fix HarmonyOS build with precompiled headers enabled

A HarmonyOS build with exceptions turned on led to a build error
regarding inconsistent exception settings.

QtGui's precompiled header is compiled with exceptions turned off. Any
source file that turns on exceptions must skip the precompiled header.

Change-Id: I317188411d6eb9e41150574f4b77a85639556269
Reviewed-by: Zbigniew Chyla <[email protected]>
Reviewed-by: Alexandru Croitor <[email protected]>
Reviewed-by: Seokha Ko <[email protected]>
(cherry picked from commit 6972aa4956fd3332695fad8923024aef05d7ff96)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/ee21c8bfd007a8230a2f96b3cc6874768b0a8958

Git commit 25ddce091ea41d1552f72207644bdc5272f1ebb7 by Qt Cherry-pick Bot (on behalf of Joerg Bornemann) on 20/07/2026 at 11:04..
harmonydeployqt: run hvigor with --no-daemon

hvigor's daemon outlives the build. On Windows the detached daemon
inherits harmonydeployqt's output pipe, so QProcess never sees EOF and
the buildHap() wait loop hangs indefinitely after the package is built.

Passing --no-daemon builds without a resident daemon, so the process
exits cleanly and no orphaned daemon is left behind.

Change-Id: I95f91a2cbe74b0a0da72992a5f6fd1740d34663b
Reviewed-by: SanthoshKumar Selvaraj <[email protected]>
(cherry picked from commit f3f9e621212688fc6e580c5a4b39b9c7b87603ee)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/25ddce091ea41d1552f72207644bdc5272f1ebb7

Git commit 1aa4ad5a750e7a6a0b1b92488a134c2c3d93c365 by Qt Cherry-pick Bot (on behalf of Joerg Bornemann) on 20/07/2026 at 11:04..
QCompleter: complete last path element in an unlisted directory

QCompleter backed by a QFileSystemModel produced no completions when the
last element of a path was edited while the directory containing it had
not been listed yet. This happens when a widget is pre-filled with a
stored path via QLineEdit::setText() and the user edits the last element
without typing a separator to navigate into the directory: nothing ever
asks the asynchronous QFileSystemModel to list that directory, so
QFileSystemModel::directoryLoaded() is never emitted and the completion
is never (re-)run.

QCompletionModel::filter() only fetched more rows for the parent index
resolved by the completion engine. When the engine's path walk stops
early because an ancestor directory has not been loaded, that index is
not the directory the user is completing within, so its listing is never
triggered.

When there are no matches and the source model is a QFileSystemModel,
resolve the directory of the current prefix with QFileSystemModel::index()
and start its listing with fetchMore(). _q_fileSystemModelDirectoryLoaded()
then re-runs the completion once the directory has been loaded. This also
covers a trailing separator (the user typing the separator that navigates
into an as yet unlisted directory).

The synchronous QDirModel, removed in Qt 6, did not have this problem.

Fixes: QTBUG-148220
Change-Id: I530ed8e5873d5c637f42f3766f0613af77a3daff
Reviewed-by: Volker Hilsheimer <[email protected]>
(cherry picked from commit 4de275104d4fe7426b6d0201017fd332b6c3fa04)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/1aa4ad5a750e7a6a0b1b92488a134c2c3d93c365

Git commit 300fb813814dd225b7c8fd4968b45ffe55b7d4d5 by Qt Cherry-pick Bot (on behalf of Joerg Bornemann) on 20/07/2026 at 11:04..
Doc: Add documentation for the harmonydeployqt tool

The HarmonyOS deployment tool harmonydeployqt had no reference page,
even though other pages already referred to it. Add one, modeled on the
androiddeployqt tool page: it describes how the tool assembles a HAP,
lists the command-line arguments, and documents HAP signing and the
precedence between the --signing-* options and their environment
variables. Wire the new page into the Qt Core documentation build.

Change-Id: Ia364713ff0e471a38960be9e2ffba2e5931fb1a2
Reviewed-by: Kai Köhne <[email protected]>
(cherry picked from commit abbec1b99a229207cf428a2f766d8727724d7c15)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/300fb813814dd225b7c8fd4968b45ffe55b7d4d5

Git commit 0f8f06ce6405783add04f5c0e14f1c13e328696a by Qt Cherry-pick Bot (on behalf of Alexandru Croitor) on 20/07/2026 at 11:04..
CMake: Fix cmake_automoc_parser regression with foo.moc files

A previous change fixed cmake_automoc_parser algorithm step 1a, which
never did anything due to a missing slash in the path.

This caused a regression when a source file that #include's its own
<base>.moc file lives next to a <base>.h that also declares a
Q_OBJECT. This removed the header's moc_<base>.cpp and its json file
from the output list, even though it should stay there.

Now that the tool more closely mirrors CMake's AUTOMOC behavior in
algorithm step 1b, all of step 1a is removed to fix the issue.

Adjust the algorithm description comment to make it more clear what is
happening.

Add more tests to cover the regressed case.

Amends 590cd59119745544a70f3a60ee9f00a9a46bd76d

Fixes: QTBUG-148343
Task-number: QTBUG-147924
Change-Id: Ie1f76090727d9a6391f6abf600baeb2c0be923ab
Reviewed-by: Joerg Bornemann <[email protected]>
(cherry picked from commit d423c8e47d77acb897e1cdb939b2576a1dd5906c)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/0f8f06ce6405783add04f5c0e14f1c13e328696a

Git commit 4d542c62aa3b82cb03169bea523ea2e44c7f8736 by Ivan Solovev on 20/07/2026 at 11:04..
QRandomGenerator: control insecure PRNG fallback behavior

The random generator can fall back to insecure PRNG on certain
configurations. This is a documented behavior, however the problem is
that at runtime there is no way to know if the fallback was used or
not. Since QRandomGenerator can be used in security-critical contexts,
such silent fallback may be unacceptable.

This patch adds a logging message that will be emitted the first time
the insecure fallback is called. It also adds a configuration feature
that can make such a fallback a hard error and terminate the
application. The feature is disabled by default to keep
backwards-compatible behavior.

Note that we use fprintf(stderr, ~~~) for logging because we cannot
include QLoggingCategory in this file. QLoggingCategory requires
QHash in its implementation, and QHash in turn requires randomness.
As a result, we would have a loop in our includes.

[ChangeLog][QtCore][QRandomGenerator] QRandomGenerator now warns when
it falls back to using insecure PRNG for generating the random value.
The new FEATURE_randomgenerator_disable_fallback can be used to
disable such fallback at compile time and terminate the application
if CSPRNG is not available for some reason.

Fixes: QTBUG-146984
Change-Id: I94fa6bcb4d8cecb62881034b9c7426cb5180133d
Reviewed-by: Marc Mutz <[email protected]>
(cherry picked from commit 95d6b801810acfaf932d4f862eff8c693af7baf1)
https://invent.kde.org/qt/qt/qtbase/-/commit/4d542c62aa3b82cb03169bea523ea2e44c7f8736

Git commit 709ba93c4a72513f8bd03d38e824aafef0919dd9 by Qt Cherry-pick Bot (on behalf of Matti Paaso) on 20/07/2026 at 11:04..
Add qtwaylandclient into Axivion configuration

Qtwaylandclient was earlier under qt/qtwayland submodule and it
was moved here. Adding configuration for it.

Task-number: QTQAINFRA-7601
Pick-to: 6.11
Change-Id: I108c1f7365875442267cb9945a4054a447547ac2
Reviewed-by: Simo Fält <[email protected]>
(cherry picked from commit dae28a95e9b3a740064c545d6dff9fa2399a23f4)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/709ba93c4a72513f8bd03d38e824aafef0919dd9
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.