<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/tests/auto/qml/qqmlimport, branch dev</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>QQmlComponent print column when reporting an error</title>
<updated>2026-02-16T13:29:42+00:00</updated>
<author>
<name>Dmitrii Akshintsev</name>
<email>dmitrii.akshintsev@qt.io</email>
</author>
<published>2025-12-03T17:57:27+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=cbddea294cad42a7880b61e8ddd31a5b860fa9f6'/>
<id>cbddea294cad42a7880b61e8ddd31a5b860fa9f6</id>
<content type='text'>
For quite a while the column number was missing when reporting a top
level error of the QQmlComponent. This patch fixes it.

Task-number: QTBUG-141950
Change-Id: Icc5bcf8b5f78d7a380b4effe20c5e5db646fbdc2
Pick-to: 6.11
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For quite a while the column number was missing when reporting a top
level error of the QQmlComponent. This patch fixes it.

Task-number: QTBUG-141950
Change-Id: Icc5bcf8b5f78d7a380b4effe20c5e5db646fbdc2
Pick-to: 6.11
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qqmlpluginimporter: unregister types for dynamic plugins</title>
<updated>2026-01-15T18:16:48+00:00</updated>
<author>
<name>Sami Shalayel</name>
<email>sami.shalayel@qt.io</email>
</author>
<published>2026-01-13T13:07:49+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=35d98a075b098a3126e64056c2b8c24c6cc32fd2'/>
<id>35d98a075b098a3126e64056c2b8c24c6cc32fd2</id>
<content type='text'>
Amends 97fe92bd8ee55f4b6a44a052925b643366734f1d which forgot to call
unregisterTypes() when unloading dynamic plugins. Also add a test.

Pick-to: 6.11
Task-number: QTBUG-133755
Change-Id: I39c96efaa129d672853f89351ca117361fd5b1d8
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Amends 97fe92bd8ee55f4b6a44a052925b643366734f1d which forgot to call
unregisterTypes() when unloading dynamic plugins. Also add a test.

Pick-to: 6.11
Task-number: QTBUG-133755
Change-Id: I39c96efaa129d672853f89351ca117361fd5b1d8
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark the whole repo with QT_NO_URL_CAST_FROM_STRING</title>
<updated>2026-01-06T03:16:40+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2025-11-20T08:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=44785fff6f739779f713d690eefed9b52d34ceb8'/>
<id>44785fff6f739779f713d690eefed9b52d34ceb8</id>
<content type='text'>
Use string literals.

Pick-to: 6.11
Change-Id: I439a25439341e4d65d1fa5f49cd3a16158e17b4a
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use string literals.

Pick-to: 6.11
Change-Id: I439a25439341e4d65d1fa5f49cd3a16158e17b4a
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQmlImportInstance: Avoid URI confusion</title>
<updated>2025-12-19T09:46:06+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2025-12-15T09:43:26+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=0364a73c65629412e8b3959692e7cd405894099a'/>
<id>0364a73c65629412e8b3959692e7cd405894099a</id>
<content type='text'>
QQmlImportInstance::resolveType is meant to resolve a type name to a
type in the import represented by the instance. It should not find the
QQmlType of a type sharing the same name in a different import.

However. to find types defined in C++, it has to use
QQmlMetaType::qmlType. It passes its URI to that function to filter out
unrelated types. However, a directory import without a qmldir will have
an empty URI. QQmlMetaType::qmlType will interpret this as "find the
type in any module", which is obviously not what we want.

Fixes: QTBUG-142407
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: I45bcf1c764d7e7cf9d479283970587a4e6519ce4
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
QQmlImportInstance::resolveType is meant to resolve a type name to a
type in the import represented by the instance. It should not find the
QQmlType of a type sharing the same name in a different import.

However. to find types defined in C++, it has to use
QQmlMetaType::qmlType. It passes its URI to that function to filter out
unrelated types. However, a directory import without a qmldir will have
an empty URI. QQmlMetaType::qmlType will interpret this as "find the
type in any module", which is obviously not what we want.

Fixes: QTBUG-142407
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: I45bcf1c764d7e7cf9d479283970587a4e6519ce4
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix configure warnings</title>
<updated>2025-10-29T08:58:51+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2025-10-28T11:30:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e1e4c53457da67e77365406966549a71b8d3b0f2'/>
<id>e1e4c53457da67e77365406966549a71b8d3b0f2</id>
<content type='text'>
* Make nonstandard RESOURCE_PREFIXes explicit
* Add TEST_PLUGIN to MockExtensionPlugin
* Remove lint target from intentionally hidden module

Also remove some useless VERSION statements and an ineffective QTP0001.

Change-Id: Iadbacce55810bdbb2cbc6a1c7175303b96e06120
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make nonstandard RESOURCE_PREFIXes explicit
* Add TEST_PLUGIN to MockExtensionPlugin
* Remove lint target from intentionally hidden module

Also remove some useless VERSION statements and an ineffective QTP0001.

Change-Id: Iadbacce55810bdbb2cbc6a1c7175303b96e06120
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tst_qqmlimport: use qt_autogen_tools_initial_setup()</title>
<updated>2025-10-28T11:21:53+00:00</updated>
<author>
<name>Sami Shalayel</name>
<email>sami.shalayel@qt.io</email>
</author>
<published>2025-10-15T12:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=6e6ad08259eb2c8e5529cc5208a5a77aae5fa7d5'/>
<id>6e6ad08259eb2c8e5529cc5208a5a77aae5fa7d5</id>
<content type='text'>
Fix a configure error because of missing autogen tools setup on the
test. Amends 97fe92bd8ee55f4b6a44a052925b643366734f1d.

Fixes: QTBUG-141464
Change-Id: I7d5f75ca70de03b7ded2f0319a81c30935749880
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a configure error because of missing autogen tools setup on the
test. Amends 97fe92bd8ee55f4b6a44a052925b643366734f1d.

Fixes: QTBUG-141464
Change-Id: I7d5f75ca70de03b7ded2f0319a81c30935749880
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qmlClearEnginePlugins: call unregisterTypes on static plugins</title>
<updated>2025-10-13T12:53:35+00:00</updated>
<author>
<name>Sami Shalayel</name>
<email>sami.shalayel@qt.io</email>
</author>
<published>2025-09-26T08:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=97fe92bd8ee55f4b6a44a052925b643366734f1d'/>
<id>97fe92bd8ee55f4b6a44a052925b643366734f1d</id>
<content type='text'>
It seems that we call registerTypes on both static and dynamic plugins,
but qmlClearEnginePlugins only unregisters dynamic plugins. This could
cause incomplete cleanups in tests like tst_customization where
qmlClearEnginePlugins should unregister plugins in both dynamic and
static builds.

Allow QmlPlugin to also contain a static plugin instance, and adapt
unloadPlugin() to also unregister types from static plugins.

Task-number: QTBUG-133755
Change-Id: Idb5a8e2754600715d8c820a73ae35cbf8991967f
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems that we call registerTypes on both static and dynamic plugins,
but qmlClearEnginePlugins only unregisters dynamic plugins. This could
cause incomplete cleanups in tests like tst_customization where
qmlClearEnginePlugins should unregister plugins in both dynamic and
static builds.

Allow QmlPlugin to also contain a static plugin instance, and adapt
unloadPlugin() to also unregister types from static plugins.

Task-number: QTBUG-133755
Change-Id: Idb5a8e2754600715d8c820a73ae35cbf8991967f
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Hold QQmlTypeLoader in QV4::ExecutionEngine</title>
<updated>2025-06-17T05:00:33+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2025-06-03T12:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d2bc4a4330254c0c68a0ade51b59a71c4b67b470'/>
<id>d2bc4a4330254c0c68a0ade51b59a71c4b67b470</id>
<content type='text'>
... rather than QQmlEngine. This paves the way for having the type
loader attached to ExecutionEngine rather than QQmlEngine.

Also, reference the execution engine in the type loader, in turn.

Task-number: QTBUG-19407
Change-Id: I04e571c5c6ac5bce5e82537cb96c6940c7186f3a
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... rather than QQmlEngine. This paves the way for having the type
loader attached to ExecutionEngine rather than QQmlEngine.

Also, reference the execution engine in the type loader, in turn.

Task-number: QTBUG-19407
Change-Id: I04e571c5c6ac5bce5e82537cb96c6940c7186f3a
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Dissolve QQmlImportDatabase</title>
<updated>2025-01-03T10:57:38+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-12-16T12:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=369005788ca9db9dbd1ac550604cbd2c1c09b5c9'/>
<id>369005788ca9db9dbd1ac550604cbd2c1c09b5c9</id>
<content type='text'>
It was so tightly coupled to QQmlTypeLoader that the distinction only
added noise and overhead.

QmldirCache is renamed to QmldirInfo.

Change-Id: I3e41008a57f6071be869131ec1426598221b50ea
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was so tightly coupled to QQmlTypeLoader that the distinction only
added noise and overhead.

QmldirCache is renamed to QmldirInfo.

Change-Id: I3e41008a57f6071be869131ec1426598221b50ea
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Faithfully preserve UNC paths when locating qmldirs</title>
<updated>2024-10-21T22:27:15+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-10-18T07:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=a24baed01a0f2cdda37f3eb9a406cb2fa94da4cb'/>
<id>a24baed01a0f2cdda37f3eb9a406cb2fa94da4cb</id>
<content type='text'>
Paths can contain various interesting characters that need to be
specially encoded in URLs. Therefore, when funneling the path through
QUrl in order to normalize it, retrieve a path again in the end. Do not
just stringify the URL.

Amends commit e0400d08755bb40c303bbe330bc3bd6045436c22

Pick-to: 6.8 6.5 6.2
Fixes: QTBUG-129681
Change-Id: Ief49ce08acb3d346655abaf34278cf7c6afd107e
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Paths can contain various interesting characters that need to be
specially encoded in URLs. Therefore, when funneling the path through
QUrl in order to normalize it, retrieve a path again in the end. Do not
just stringify the URL.

Amends commit e0400d08755bb40c303bbe330bc3bd6045436c22

Pick-to: 6.8 6.5 6.2
Fixes: QTBUG-129681
Change-Id: Ief49ce08acb3d346655abaf34278cf7c6afd107e
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Olivier De Cannière &lt;olivier.decanniere@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
