[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 6f5209567bd9df710a469a4c8ee640f5cfef4844 to e8567bbc5e16d6966f868035de6246f6411cafb3
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 1b1591f36093cd8d1bcbe5c14a9a3decc179f933 by Qt Cherry-pick Bot (on behalf of Seokha Ko) on 19/07/2026 at 02:47..
ohos: Snapshot QAbility peers before invoking the visitor

visitEachQAbilityPeer() iterated m_qAbilityPeers directly while its
visitor could synchronously resolve a JS Promise that re-entered and
erased an entry from the same map, invalidating the range-for iterator
and dereferencing a null shared_ptr on the next step.

Copy the peer map before invoking the visitor so that re-entrant
insertion or removal cannot invalidate the iteration, and each peer
stays alive for the duration of its visit.

Change-Id: If2f0fa062833da2cc863fb04ee01564169f5cc94
Reviewed-by: Zbigniew Chyla <[email protected]>
Reviewed-by: SanthoshKumar Selvaraj <[email protected]>
(cherry picked from commit ea78d5a4e582d44b17a7c303b22f65f18a3de157)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/1b1591f36093cd8d1bcbe5c14a9a3decc179f933

Git commit 2be7833c0855aa83aec3fafa5a97ab5de81604c5 by Qt Cherry-pick Bot (on behalf of Shane Liu) on 19/07/2026 at 06:55..
ohos: report the user-set printer alias as the print device name

HarmonyOS lets the user rename a printer in the system settings. The
new name is not reflected in Print_PrinterInfo.printerName; instead it
is stored in the "printerAlias" key (since API 24) of the detailInfo
JSON object.
https://developer.huawei.com/consumer/en/doc/harmonyos-references/capi-oh-print-print-printerinfo

Override QPlatformPrintDevice::name() to query the printer info and
return the alias when one is set, falling back to the native printer
name otherwise. The info is queried live on each call instead of
caching m_name at construction, so a rename done while the application
is running is picked up.

With this, QPrinterInfo::description() reports the same user-visible
printer name that the system print UI shows.

Task-number: QTBUG-148267
Change-Id: I1a1028c6643039a949878aac4eaa50c3c92b4663
Reviewed-by: Joerg Bornemann <[email protected]>
(cherry picked from commit 5b70af0968e737c568bd21e2ff73fc6c73c4519a)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/2be7833c0855aa83aec3fafa5a97ab5de81604c5

Git commit 86fffdb4667f653009164dbb45072ede7b538979 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 19/07/2026 at 06:55..
QtTsan: add a constexpr bool IsEnabled

... so we can query it with if constexpr.

Do that in tst_QReadWriteLock::HeavyLoadLockThread::run() to have at
least one user.

Said user was added in 4fd88011fa7975ce64d5648698a234f85bac359c (to be
picked to 6.8), so pick this back the same distance, so it's available
for potential follow-ups.

Pick-to: 6.11 6.8
Change-Id: I021cf66250fdd681cfe7370e3ea14bc3fd718985
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit 2a94faadd53734e8567cb48f12ba9a8bb8cf4a6e)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/86fffdb4667f653009164dbb45072ede7b538979

Git commit e8567bbc5e16d6966f868035de6246f6411cafb3 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 19/07/2026 at 06:55..
QReadWriteLock: fix Coverity DEADCODE in describeLockForTSan()

Coverity complained that the if (u ~~~) check was dead code, and it
was, when not building under tsan (in which case it was a constant 0).

While the desire to increase compiler coverage is understandable, it
makes the code more complicated here, and, being an inline function,
requires every includer of the header to re-compile it. And debug
builds won't eliminate the dead code.

So move everything under QT_BUILDING_UNDER_TSAN, which also simplifies
the tsan code, since we no longer need the 'u' temporary. Then use the
new constexpr bool QtTsan::IsEnabled to turn the #ifdef into a
constexpr if, which removes the need for the Q_UNUSED, too.

Amends a6b062931dca498adb0518481d1c57d2d4322143 (picked to 6.12).

Coverity-Id: 911450
Change-Id: Iea4fb83de8a13fb38d0006b62cc3bb74e773f10a
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit aa825bfe3d6138cd858b1e4b4286d1e3d20f1fab)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/e8567bbc5e16d6966f868035de6246f6411cafb3
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.