Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15
Description
- Cherry-pick https://codereview.qt-project.org/c/qt/qtdeclarative/+/284119
- Build qtdeclarative
- Run tests/auto/quick/qquicklayouts/tst_qquicklayouts -input /path/to/qt5/sources/qtdeclarative/tests/auto/quick/qquicklayouts/data/tst_stacklayout.qml
You will get output like this:
********* Start testing of qquicklayouts ********* Config: Using QtTest library 6.0.0, Qt 6.0.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.4.0) PASS : qquicklayouts::Tests_StackLayout::initTestCase() FAIL! : qquicklayouts::Tests_StackLayout::test_attachedIndex() Compared values are not the same Actual (): undefined Expected (): 0 Loc: [/home/mitch/dev/qt5.15/qtdeclarative/tests/auto/quick/qquicklayouts/data/tst_stacklayout.qml(131)] PASS : qquicklayouts::Tests_StackLayout::test_rearrange() PASS : qquicklayouts::Tests_StackLayout::cleanupTestCase() Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 26ms ********* Finished testing of qquicklayouts *********
If you then add a print(item1.StackLayout) before that failure, you'll see this:
qml: QQuickLayoutAttached(0x60d00003aec0)