Details
Description
On Design mode, when a ListView is trying to put a delegate, QT Creator crashes.
Steps:
- Create a QML with this code:
import QtQuick 2.4 import QtQuick.Layouts 1.3 ColumnLayout { width: 400 height: 400 ListView { width: parent.width Layout.fillHeight: true Layout.fillWidth: true } }
- Open it with the Designer.
- Choose to view both, the design and the code.
- On the code, put "delegate: Rectangle {".
import QtQuick 2.4 import QtQuick.Layouts 1.3 ColumnLayout { width: 400 height: 400 ListView { width: parent.width Layout.fillHeight: true Layout.fillWidth: true delegate: Rectangle { } }
- When press enter after {, creator crashes.