76// It is possible to have a syntax error or something in custom
77// widget XML, so, try to recover here by creating an artificial
78// top level + widget.
79if (!result) {
80const QString msg = QApplication::translate("qdesigner_internal::WidgetBox", "Warning: Widget creation failed in the widget box. This could be caused by invalid custom widget XML.");