Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
6.2
Description
there is a warning:
agent:2021/05/04 09:24:41 build.go:379: 2: QWARN : tst_controls::Basic::RangeSlider::test_valueAt(0.0..1.0) qrc:/qt-project.org/imports/QtTest/TestCase.qml:672: Error: Cannot assign [undefined] to double
It's pointing to the return statement and not createObject() itself:
https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/imports/testlib/TestCase.qml#n672
If I add debug output to createTemporaryObject(), I can see that the warning is produced by the createObject() call, but yet the warning always points to the return line after it.
The error itself is caused by passing undefined as one of the initial property values.