[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.11'.
Changed from 68ae10debe6de9adf3fea16aed75b73488174bd8 to 200abc713a2223fdaa1f27e553f1c8fffaf0beb3
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 4f342f6b3b0dca3a94ba73e2d56803fbc7673032 by Qt Cherry-pick Bot (on behalf of David Faure) on 30/07/2026 at 13:53..
QHostInfo: destroy the result emitter in its own thread

QHostInfoRunnable holds a QHostInfoResult that belongs to the receiver's
thread, but QThreadPool deletes the runnable in one of its own threads,
so that QObject was destroyed from the wrong thread. ThreadSanitizer
reports it as a race on the emitter's vptr, against a receiver being
destroyed at the same time: it fires in tst_qobject's
threadSignalEmissionCrash, where ~QHostInfoResult races with ~QTcpSocket.

Hold it by pointer, and hand it back to its own thread via deleteLater()
when we are not already there. That only works while the thread still has
an event dispatcher to run the deferred delete, so check for one first and
destroy the emitter right away when there is none. This is the situation
at application exit: ~QCoreApplication() clears the main thread's event
dispatcher and only then emits destroyed(), which is what makes the thread
pool finish its runnables.

The emitter keeps its QThreadData alive, but not the QThread, which its
own thread may be destroying while we look at it, so read the dispatcher
and the thread from the QThreadData instead of dereferencing the QThread.

The autotest covers the case of a receiver thread without event dispatcher.

Pick-to: 6.8
Change-Id: I4490b357c8e011857a005b037b1110f9a044995b
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit f0d88ae526f7bdcfb436f5a42dc2e409e7aa7215)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit f0070dbdf6b0eb32288e3b6c260920e0610abdc2)
https://invent.kde.org/qt/qt/qtbase/-/commit/4f342f6b3b0dca3a94ba73e2d56803fbc7673032

Git commit 5f3b187f19b29c82b7a1c935afd123402d940b8b by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 30/07/2026 at 13:53..
QLocalTime: remove unneeded narrowing conversion

The old code first assigned epoch.remainder (a qint64 variable) to an
int variable, just to widen it again to qint64 for the call to
secondsAndMillisOverflow(). In particular, it Q_ASSERTed the range
_after_ narrowing, so potentially misses actual out-of-range cases.

Use auto to avoid the narrowing.

Amends b931688a1e52b9e9bdf3144d392e7ee29e8c3ead (6.4), AFACT.

Pick-to: 6.8 6.5
Change-Id: I582a0b557723b0f8d98868d6b26180d9c5407589
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit 42fbb3b5c3d46423a4e956501cbfce0fb5b641b1)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 8e1f4d8e045bdf2ccafbe8e1f4ff669b2869c4e6)
https://invent.kde.org/qt/qt/qtbase/-/commit/5f3b187f19b29c82b7a1c935afd123402d940b8b

Git commit c5ca14459bc6e3098f8673a2e14f24186b3d8007 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 30/07/2026 at 13:53..
tst_QHashFunctions: fix -Wunused-result

Stow it away in a std::ignore.

Amends ee4d239ee5b13b8dad925a51ff1db0a3728a4675 (picked to 6.5).

Pick-to: 6.8 6.5
Change-Id: Ieb0b5d50f14d5fac5cf933bd53fa53c95516b66d
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit 5c88d364eac59f52dd89b47556bdc14df2189bdd)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 831cf4910647de0008a2694127aece72432887cd)
https://invent.kde.org/qt/qt/qtbase/-/commit/c5ca14459bc6e3098f8673a2e14f24186b3d8007

Git commit 8128aabeacb50baa05265ec83375f72ae327d722 by Qt Cherry-pick Bot (on behalf of Wladimir Leuschner) on 30/07/2026 at 18:47..
QWindows11Style: Honor custom text color in palette for TabBarTabLabel

Custom text color set in a palette was not honored in the
QWindows11Style for the CE_TabBarTabLabel, this patch checks, if a
custom color was set in the palette and uses the custom color instead of
the WinUI3 colors.

Fixes: QTBUG-148548
Change-Id: Ifacf17217eb4f6b8ad04b59d112069cfd8148659
Reviewed-by: Oliver Wolff <[email protected]>
(cherry picked from commit 6701459a70e1b38dcab064bcced92d47a6dc6da8)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 67625b3285991443f04e968e430fef2d4add5294)
https://invent.kde.org/qt/qt/qtbase/-/commit/8128aabeacb50baa05265ec83375f72ae327d722

Git commit 200abc713a2223fdaa1f27e553f1c8fffaf0beb3 by Qt Cherry-pick Bot (on behalf of Laszlo Agocs) on 30/07/2026 at 18:47..
rhi: gl: Disable vert.attr.locs always

...in endFrame(), not only on WebGL. Is turns out
even QPainter's OpenGL paint engine gets confused if
some QRhi-based OpenGL rendering leaves vertex attribute
locations enabled.

Fixes: QTBUG-147817
Pick-to: 6.8
Change-Id: Iaf34896aa63ba451ba527b7f61c8a2fdb3652b04
Reviewed-by: Andy Nichols <[email protected]>
(cherry picked from commit a56f92130b87bd7446a205f5fa33bd4851de4e22)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 610137137d19dcc6c941c995e137611e5fe2723c)
https://invent.kde.org/qt/qt/qtbase/-/commit/200abc713a2223fdaa1f27e553f1c8fffaf0beb3
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.