It crashes at line similar to "quickWidget = new QQuickWidget();" which can be found in file which was automatically generated for UI by moc. Also QtCreator closes unexpectedly if QQuickWidget is removed in Design mode and one tries to restore it with Ctrl+Z.