Qt QML ListView:“;复杂的;委托导致崩溃

Qt QML ListView:“;复杂的;委托导致崩溃,qt,qml,Qt,Qml,我的应用程序有问题,我在网上搜索了一些类似的东西(甚至是远程搜索),发现: (答案中提供的代码)-它工作得很好!但是当我将ListView委托更改为更“复杂”的内容时,如下所示: Component { id: commonDelegate Rectangle { width: view.width implicitHeight: editor.implicitHeight + 10 colo

我的应用程序有问题,我在网上搜索了一些类似的东西(甚至是远程搜索),发现: (答案中提供的代码)-它工作得很好!但是当我将
ListView
委托更改为更“复杂”的内容时,如下所示:

Component {
        id: commonDelegate
        Rectangle {
            width: view.width
            implicitHeight: editor.implicitHeight + 10
            color: "transparent"
            border.color: "red"
            border.width: 2
            radius: 5
            TextInput {
                id: editor
                anchors.margins: 1.5 * parent.border.width
                anchors.left: parent.left
                text: edit.name // "edit" role of the model, to break the binding loop
                onTextChanged: {
                    display.name = text;
                    model.display = display
                }
            }

            ComboBox {
                id: siema
                anchors.left: editor.right
                model: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "+"]
            }

            Button {
                id: bt
                text: "Guizk"
                anchors.left: siema.right
                anchors.right: parent.right
            }

        }
    }
然后,在添加一些行(足以填满整个屏幕,因此其中一些行不可见)并尝试滚动到那些不可见的行后,应用程序崩溃。使用调试器运行时,报告的错误为
EXC\u BAD\u ACCESS
,并且函数QCoreApplication::ProcessEvents的创建者中显示了反汇编

代理的“复杂程度”是否有限制?或者有没有更好(更有效)的方法,这样它就不会崩溃

崩溃发生在64位Windows 7、OsX 10.8.5和Android 4.1上


如果您需要更多信息,请告诉我。

我也有同样的问题,经过反复试验,我发现Combobox应对崩溃负责


如果你没有它也能生活,尽量不要使用它。

你能显示完整的回溯并提供一个回溯吗?