[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 'dev'.
Changed from b0ddb565e46fc6309f15e6f726322c2b87494b7c to 635c609d7f8f86f8ba6559527e5d49c9e24bb65f
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 7f9ba9ee533469aaf3d5d029de874705a8273c55 by Sukyoung Oh on 30/07/2026 at 04:39..
tst_qheaderview: make section-size tests style/DPI independent

sectionSize() and visualIndexAt() assumed a 30px default vertical
section size, which only holds for QCommonStyle at 96 base DPI. It
fails otherwise: QOhosStyle returns 48, and QCommonStyle's value is
DPI-scaled (~22 on OHOS's 72 base DPI) - the same reason the tests
were already skipped on QNX.

Instead of skipping, compare defaultSectionSize against the live style
metric in sectionSize(), and pin the size via setDefaultSectionSize(30)
in visualIndexAt(). This keeps coverage on all platforms and lets the
QNX skip be dropped too.

Task-number: QTBUG-147339
Pick-to: 6.12
Change-Id: Ib1a349fdbab51368cac0150a5a78496bbc0bcd8b
Reviewed-by: Axel Spoerl <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/7f9ba9ee533469aaf3d5d029de874705a8273c55

Git commit 4d4638d02dbb4361028cd9d3168fd81d408f6c2c by Laszlo Agocs on 30/07/2026 at 12:06..
rhi: gl: Add env.var. to force makeCurrent all the time

Certain integrations with external renderers got away with broken
behavior in Qt 5: they could in many cases change the GLX/EGL/etc.
context behind Qt's (and QOpenGLContext's) back, leaving
QOpenGLContext::currentContext() return an untrue result from that point
on.

This worked because in the simpler OpenGL-only world Qt Quick could just
do a makeCurrent when starting to render the next frame, issue some GL
calls, and it did not matter what happened afterwards, i.e. if the
(QOpenGL)context tracking got clobbered between Qt's rendering for the
current and the next frame.

QRhi on the other hand has an API that can be called at any time and
does not expose the legacy concept of thread-local contexts. In its
OpenGL backend, the many QRhi APIs translate to GL calls requiring the
context being current, but at the same time calling that at a high
frequency has a risk of performance degradation, depending on the
platform (think unnecessary flushes, depending on the underlying
drivers). In the vast majority of cases ensureContext() will be a no-op
since the correct context will be found to be already current on the
rendering thread due the checks this function performs.

Add a way via an env.var. (QT_GL_BROKEN_CONTEXT_TRACKING) to force
disabling this and doing makeCurrent() calls all the time, enabling some
Qt 5 projects to function as expected with Qt 6, at the expense of
potential performance degradation.

Pick-to: 6.12
Task-number: QTBUG-147397
Task-number: QTBUG-147770
Change-Id: Icff47932fef8e1adf3eedc5437a88907b37099a5
Reviewed-by: Andy Nichols <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/4d4638d02dbb4361028cd9d3168fd81d408f6c2c

Git commit a56f92130b87bd7446a205f5fa33bd4851de4e22 by Laszlo Agocs on 30/07/2026 at 12:06..
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.12 6.11 6.8
Change-Id: Iaf34896aa63ba451ba527b7f61c8a2fdb3652b04
Reviewed-by: Andy Nichols <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/a56f92130b87bd7446a205f5fa33bd4851de4e22

Git commit 635c609d7f8f86f8ba6559527e5d49c9e24bb65f by Laszlo Agocs on 30/07/2026 at 12:06..
rhi: vulkan: Allow using an explicit VkQueue with flags

Task-number: QTBUG-147340
Change-Id: Ia2716e7afe44868dbf279220a3ca9aaec5633763
Reviewed-by: Andy Nichols <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/635c609d7f8f86f8ba6559527e5d49c9e24bb65f
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.