Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
5.15.2
-
Windows 10 x64
Description
The following code causes endless recursion stack overflow crash. This only happens testing QML in QtQuickTest. Attached is a example project of the crash.
import QtQuick 2.15 import QtTest 1.0 Item { width: 300 height: 300 component MyItem : Rectangle { width: 100 height: 100 color: "red" } MyItem { } TestCase { name: "my_test_3000" function test_case1() { compare(1 + 1, 2, "sanity check"); verify(true); } } }
Attachments
Issue Links
- duplicates
-
QTBUG-90762 QuickTest: List testcases when testcase is inline component
- Reported