<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/tests/auto/qml/qqmlincubator, 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>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: Eliminate QFiniteStack and QQmlParserStatus backlinks</title>
<updated>2025-05-15T21:34:18+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2025-05-05T09:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=72b4dff6c0ba7f51a9e97db73b06135b8d8cb287'/>
<id>72b4dff6c0ba7f51a9e97db73b06135b8d8cb287</id>
<content type='text'>
Use a std::vector instead. Track QQmlParserStatus via a QQmlGuard on its
QObject. This eliminates the need to keep stable references in the
container that holds QQmlParserStatus. Therefore we don't need to
allocate all of it in one go anymore, and consequently we can use
std::vector rather than our homegrown solution.

Since we now record the attached parser status callbacks in the same
list as the regular ones, we also need to fix their profiler
integration. Otherwise we would get mismatched profiler events.

Task-number: QTBUG-135286
Fixes: QTBUG-132827
Change-Id: I695c8939892b18982f09357a53fe743479218808
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a std::vector instead. Track QQmlParserStatus via a QQmlGuard on its
QObject. This eliminates the need to keep stable references in the
container that holds QQmlParserStatus. Therefore we don't need to
allocate all of it in one go anymore, and consequently we can use
std::vector rather than our homegrown solution.

Since we now record the attached parser status callbacks in the same
list as the regular ones, we also need to fix their profiler
integration. Otherwise we would get mismatched profiler events.

Task-number: QTBUG-135286
Fixes: QTBUG-132827
Change-Id: I695c8939892b18982f09357a53fe743479218808
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Qt::Qml before Qt::QmlPrivate to auto tests</title>
<updated>2024-10-21T22:27:15+00:00</updated>
<author>
<name>Karim Pinter</name>
<email>karim.pinter@qt.io</email>
</author>
<published>2024-10-09T07:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9acb78d01de674e45fb6640b6ef4ee797bf998c6'/>
<id>9acb78d01de674e45fb6640b6ef4ee797bf998c6</id>
<content type='text'>
The build for auto tests for VxWorks fails because Qt::Qml is not added
before Qt::QmlPrivate resulting in many unresolved symbols from Qt::Qml
library. When Qt::Qml is added before it solves this problem.

Task-number: QTBUG-129113
Change-Id: I89d553ac1d6706e2e934665fed2f308e6b01ed78
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The build for auto tests for VxWorks fails because Qt::Qml is not added
before Qt::QmlPrivate resulting in many unresolved symbols from Qt::Qml
library. When Qt::Qml is added before it solves this problem.

Task-number: QTBUG-129113
Change-Id: I89d553ac1d6706e2e934665fed2f308e6b01ed78
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct license for test files</title>
<updated>2024-02-27T09:32:21+00:00</updated>
<author>
<name>Lucie Gérard</name>
<email>lucie.gerard@qt.io</email>
</author>
<published>2024-02-22T14:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9c5fc883881799fa28cf74535351e76dcea10a0a'/>
<id>9c5fc883881799fa28cf74535351e76dcea10a0a</id>
<content type='text'>
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Kai Köhne &lt;kai.koehne@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Don't let objects be deleted during incubation</title>
<updated>2024-02-20T09:38:15+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2024-02-15T13:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=95965ba19f6a1cc04d8bc04e2c55ececcd87edbb'/>
<id>95965ba19f6a1cc04d8bc04e2c55ececcd87edbb</id>
<content type='text'>
As long as the incubator object is alive, it should hold on to the
object being incubated. Anything else makes no sense. Re-use the
"valuemap" slot to hold on to the object once its ready.

Pick-to: 6.7 6.6 6.5
Fixes: QTBUG-119911
Change-Id: Ia9823aced5ec16a8da00e61ad7d606c63e40ed31
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As long as the incubator object is alive, it should hold on to the
object being incubated. Anything else makes no sense. Re-use the
"valuemap" slot to hold on to the object once its ready.

Pick-to: 6.7 6.6 6.5
Fixes: QTBUG-119911
Change-Id: Ia9823aced5ec16a8da00e61ad7d606c63e40ed31
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare tests for upcoming incremental gc</title>
<updated>2023-11-22T21:40:39+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2023-10-19T08:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=7461ae2a946321576f6a495df33e3a17639e246c'/>
<id>7461ae2a946321576f6a495df33e3a17639e246c</id>
<content type='text'>
This commit:
- Introduces helper functions gcDone and gc. gcDone simply returns true
  as the gc is currently not incremental. gc is a helper method which
  has been copied into various tests already, which runs the garbage
  collections and sends events to clean up objects scheduled for
  deletion. The new helpers are placed in qmlutils.cpp.
- It adds a flag to gc which allows not sending the posted events. That
  allows using gc in more places, while highlighting the fact that we
  don't want to process events at this point. This will also help
  upcoming changes to the incremental gc, which by default will use the
  event loop to drive the gc processing
- It moves some gc calls from QML to C++ – this again will help later to
  ensure that the gc actually has completed

As a driveby, the logging rules early in tst_qv4mm are reset earlier.

Task-number: QTBUG-119274
Change-Id: I75d6ffcb3aa459b020e8257155faa91c39653d43
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit:
- Introduces helper functions gcDone and gc. gcDone simply returns true
  as the gc is currently not incremental. gc is a helper method which
  has been copied into various tests already, which runs the garbage
  collections and sends events to clean up objects scheduled for
  deletion. The new helpers are placed in qmlutils.cpp.
- It adds a flag to gc which allows not sending the posted events. That
  allows using gc in more places, while highlighting the fact that we
  don't want to process events at this point. This will also help
  upcoming changes to the incremental gc, which by default will use the
  event loop to drive the gc processing
- It moves some gc calls from QML to C++ – this again will help later to
  ensure that the gc actually has completed

As a driveby, the logging rules early in tst_qv4mm are reset earlier.

Task-number: QTBUG-119274
Change-Id: I75d6ffcb3aa459b020e8257155faa91c39653d43
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Make qml tests standalone projects</title>
<updated>2023-07-05T10:34:11+00:00</updated>
<author>
<name>Alexandru Croitor</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2023-06-29T15:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5818f97e70c90c545a745a066b005f595d44c252'/>
<id>5818f97e70c90c545a745a066b005f595d44c252</id>
<content type='text'>
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the follow script:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: Ia68c9d263e7454f0c4a26c29b10f1c535d08e2f6
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
Reviewed-by: Amir Masoud Abdol &lt;amir.abdol@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the follow script:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: Ia68c9d263e7454f0c4a26c29b10f1c535d08e2f6
Reviewed-by: Joerg Bornemann &lt;joerg.bornemann@qt.io&gt;
Reviewed-by: Amir Masoud Abdol &lt;amir.abdol@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Retire the qt_parse_all_arguments</title>
<updated>2023-01-20T15:40:42+00:00</updated>
<author>
<name>Amir Masoud Abdol</name>
<email>amirmasoudabdol@icloud.com</email>
</author>
<published>2023-01-11T17:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c2d37f964665bd647f3cd958502e8357f654f43f'/>
<id>c2d37f964665bd647f3cd958502e8357f654f43f</id>
<content type='text'>
Task-number: QTBUG-99238
Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-99238
Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Port from container::count() and length() to size()</title>
<updated>2022-10-07T21:38:48+00:00</updated>
<author>
<name>Marc Mutz</name>
<email>marc.mutz@qt.io</email>
</author>
<published>2022-10-05T05:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=958cd3ee1094a068b6d0ff27c73a4b3caff088ad'/>
<id>958cd3ee1094a068b6d0ff27c73a4b3caff088ad</id>
<content type='text'>
This is a semantic patch using ClangTidyTransformator as in
qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8:

  auto QtContainerClass = anyOf(
      expr(hasType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes))))).bind(o),
      expr(hasType(namedDecl(hasAnyName(&lt;classes&gt;)))).bind(o));
  makeRule(cxxMemberCallExpr(on(QtContainerClass),
                             callee(cxxMethodDecl(hasAnyName({"count", "length"),
                                                  parameterCountIs(0))))),
           changeTo(cat(access(o, cat("size"), "()"))),
           cat("use 'size()' instead of 'count()/length()'"))

a.k.a qt-port-to-std-compatible-api with config Scope: 'Container',
with the extended set of container classes recognized.

Change-Id: Idb1f75dfe2323bd1d9e8b4d58d54f1b4b80c7ed7
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a semantic patch using ClangTidyTransformator as in
qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8:

  auto QtContainerClass = anyOf(
      expr(hasType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes))))).bind(o),
      expr(hasType(namedDecl(hasAnyName(&lt;classes&gt;)))).bind(o));
  makeRule(cxxMemberCallExpr(on(QtContainerClass),
                             callee(cxxMethodDecl(hasAnyName({"count", "length"),
                                                  parameterCountIs(0))))),
           changeTo(cat(access(o, cat("size"), "()"))),
           cat("use 'size()' instead of 'count()/length()'"))

a.k.a qt-port-to-std-compatible-api with config Scope: 'Container',
with the extended set of container classes recognized.

Change-Id: Idb1f75dfe2323bd1d9e8b4d58d54f1b4b80c7ed7
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the license of all CMakeLists.txt and *.cmake files to BSD</title>
<updated>2022-09-07T15:01:30+00:00</updated>
<author>
<name>Lucie Gérard</name>
<email>lucie.gerard@qt.io</email>
</author>
<published>2022-08-26T08:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=1b9808737a74c539970cc95d93d09d42705c12bf'/>
<id>1b9808737a74c539970cc95d93d09d42705c12bf</id>
<content type='text'>
Task-number: QTBUG-105718
Change-Id: Id89ed14990804a5024183e75382cc539d4293da1
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Jörg Bornemann &lt;joerg.bornemann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-105718
Change-Id: Id89ed14990804a5024183e75382cc539d4293da1
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Jörg Bornemann &lt;joerg.bornemann@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
