[qt/qt/qtdeclarative]: 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/qtdeclarative
Pushed by mirror-service into branch 'dev'.
Changed from 002aea0f171efcf24d2045ef1708ca7d62be44ee to a9e34f7d5f99d82e2c4a9cdcfa885a9751d5b3ba
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 1bfcdb97bf5fae2d2756bcca08d01c0a280e7d14 by Doris Verria on 30/07/2026 at 16:17..
StyleKitWidgets Example: Add some styling to menu/menuBar items

Pick-to: 6.12
Change-Id: Iaf0d548c30aa4974896033cd65933cdb5c193518
Reviewed-by: Friedemann Kleint <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/1bfcdb97bf5fae2d2756bcca08d01c0a280e7d14

Git commit 7f9697e58a51ca2c600973e84c22f68cbba244d6 by Doris Verria on 30/07/2026 at 16:17..
StyleKitWidgets Example: Don't show native menuBar

Don't show a native menu bar in order to showcase the style capabilities
for it.

Pick-to: 6.12
Change-Id: I8d9c47acf2c80a6dbb91a9c0a99e1e69c459395e
Reviewed-by: Friedemann Kleint <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/7f9697e58a51ca2c600973e84c22f68cbba244d6

Git commit e2925c562d605d8978816988135e220fbd3df7b1 by Olivier De Cannière on 30/07/2026 at 16:17..
tst_qmllint: Actually check that no messages are emitted

When passing a default constructed Result object, we ignore the result
of the linting. We want to ensure no message are emitted.

Use Result::clean()

Amends 5f3545d930d4cccc4425872ceab38d9b93d7328b

Pick-to: 6.12 6.11
Change-Id: I787833effb268ca6d19f65c6006a9e0a3961472e
Reviewed-by: Sami Shalayel <[email protected]>
Reviewed-by: Fabian Kosmale <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/e2925c562d605d8978816988135e220fbd3df7b1

Git commit 2683248fee6afe32bcea86ce29cc5d9a006b006f by Olivier De Cannière on 30/07/2026 at 16:17..
tst_qmllint: Construct Result objects using ResultBuilder

The many immediate constructions of Result differ throughout the whole
file and are difficult to read.

Introduce ResultBuilder to construct Result objects using the builder
pattern. This makes things more uniform and explicit.

Execution time remains unchanged.

Fixes: QTBUG-145316
Change-Id: I9d8b94be17dc8dfde706d267fad55f691faea20b
Reviewed-by: Semih Yavuz <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/2683248fee6afe32bcea86ce29cc5d9a006b006f

Git commit 4d92357160c5364fc04ad4f06410557d39c04483 by Assam Boudjelthia on 30/07/2026 at 16:17..
FolderListModel: support Android content:// folders

A folder chosen through the Android system picker arrives as
a content URL whose authority names the documents provider
that serves it. Three places in FolderListModel mishandled
that URL.

resolvePath() rebuilt the path from the URL path component
alone, which drops the authority and collapses the scheme to
a single slash, so the content file engine could not resolve
it and the model stayed empty. Keep the URL whole when it
carries an authority.

parentFolder() ran the same path surgery and returned a bogus
file URL for a content folder. Only a local folder has a
string derivable parent, so return an empty URL otherwise.

indexOf() built its lookup from toLocalFile(), which is empty
for a content URL, so content entries were never matched. Use
urlToLocalFileOrQrc() instead.

Plain file and qrc folders carry no authority and keep the
existing handling throughout.

Pick-to: 6.12 6.11 6.8
Fixes: QTBUG-90761
Fixes: QTBUG-109990
Change-Id: Iee3db45b4dc5b1af703340f229480e795fe4c1f2
Reviewed-by: Ville Voutilainen <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/4d92357160c5364fc04ad4f06410557d39c04483

Git commit 1fe8177156e68666ca128470e6c126fa857d81ce by Assam Boudjelthia on 30/07/2026 at 16:17..
TextDocument: save to Android content:// URLs

TextDocument could load a document from a content URL but
could not save it back. writeTo() resolved the path with
toLocalFile(), which is empty for a content URL, and saveAs()
rejected anything that was not a local file. So a document
opened through the Android picker could be edited but never
saved.

Resolve the path with urlToLocalFileOrQrc() so QFile writes
it through the content file engine, and let saveAs() accept a
content URL as a writable target. A URL without write access
still fails, now with an accurate write error rather than a
misleading one.

The sourceAndSave test copies its data from a read only qrc
resource on Android, where the copy stays read only, so make
it writable before saving back to it.

Pick-to: 6.12 6.11 6.8
Change-Id: I50514ae87d039b67c13834755ca47addf6fe7f9a
Reviewed-by: Ville Voutilainen <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/1fe8177156e68666ca128470e6c126fa857d81ce

Git commit 39d0d81492268732689a86d2e23e5e0ef4204980 by Assam Boudjelthia on 30/07/2026 at 16:17..
Android: simplify view null check in getViewAndRootObject

Use a plain null check instead of Q_LIKELY on the view pointer.
The handle is already guarded before rootObject() is dereferenced.

Fixes: QTBUG-148447
Pick-to: 6.12 6.11
Change-Id: I5a1ffe74c3ef0833444a0a63fe3805ba716abf1b
Reviewed-by: Soheil Armin <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/39d0d81492268732689a86d2e23e5e0ef4204980

Git commit 7b9360ac7088c7b6c82d1283fc59cf154552fa8c by Kwanghyo Park on 30/07/2026 at 16:17..
quickvectorimage: Enable path and shape rendering in QQuickItemGenerator

Implement generatePath() and outputShapePath() with stroke, fill,
fill rule, and SVG path data support, and wire up the format plugin
loader. Structure nodes flagged as isPathContainer share a single
QQuickShape across their child paths to avoid per-path item overhead.

Task-number: QTBUG-147356
Change-Id: I0610485f1c1bce39e42e9c02817cfda87d7f0664
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/7b9360ac7088c7b6c82d1283fc59cf154552fa8c

Git commit ba8440c413153a6f9754c1224b605651b7c05e65 by Alexei Cazacov on 30/07/2026 at 16:17..
Doc: Mention Qt Extension for VSCode in the docs in qtdeclarative

Task-number: QTBUG-147842
Pick-to: 6.12
Change-Id: I0e93680e0474cf5db5a3f6997595714e6c1a1da9
Reviewed-by: Leena Miettinen <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/ba8440c413153a6f9754c1224b605651b7c05e65

Git commit a9e34f7d5f99d82e2c4a9cdcfa885a9751d5b3ba by Tor Arne Vestbø on 30/07/2026 at 16:17..
CMake: Don't depend on a QML import scan that will never run

The build-dir qt.conf partial is now generated at build time from the
QML import scanner's output, but the scan itself is set up by an
executable finalizer, which only runs for a target created with
qt_add_executable() or finalized manually. A target created with plain
add_executable() gets neither, and so ended up with a partial whose
build rule has an input that nothing produces:

    ninja: error: '.qt/qml_imports/foo_build.cmake', needed by
    '.qt/qtconfs/foo_qt.part.conf', missing and no known rule
    to make it

Whether a scan is wanted and whether one will actually be set up are two
different questions, and only the latter says anything about depending
on its output. Split them: _qt_internal_qml_import_scan_enabled() keeps
answering the first, and still gates the finalizer, so a plain
add_executable() target that is finalized manually later on has its scan
set up as before, along with the information the install-time deployment
needs. The new _qt_internal_qml_import_scan_will_run() answers the
second, and is what the deferred qt.conf writer asks. A target that will
never be finalized falls back to generating the partial from its
declared dependencies at configure time, as it did before.

Only the prediction has to be conservative: assuming no scan for a
target that ends up having one costs a qt.conf without the QML-only
imports, never a dangling build rule.

Amends dc27fcdaf26cca3fadc92cd0c9aa5398e6b0e774.

Fixes: QTBUG-148683
Pick-to: 6.12
Change-Id: I416c197fb88cbb158ae461df5cc5b8a8d85fe99c
Reviewed-by: Alexandru Croitor <[email protected]>
https://invent.kde.org/qt/qt/qtdeclarative/-/commit/a9e34f7d5f99d82e2c4a9cdcfa885a9751d5b3ba
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.