diff --git a/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp b/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp index 31ecda0352d298af95a51641dfc9bb7a64d2942d..4c08dcefc258bd74a479770f93de69fe69483361 100644 --- a/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp +++ b/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp @@ -215,12 +215,16 @@ const QMetaObject *QDesignerAxPluginWidget::metaObject() const return QDesignerAxWidget::metaObject(); } +#ifndef QT_NO_EXCEPTIONS + static QString msgComException(const QObject *o, const QMetaObject::Call call, int index) { return QDesignerAxWidget::tr("A COM exception occurred when executing a meta call of type %1, index %2 of \"%3\"."). arg(call).arg(index).arg(o->objectName()); } +#endif // QT_NO_EXCEPTIONS + int QDesignerAxPluginWidget::qt_metacall(QMetaObject::Call call, int signal, void **argv) { QAxWidget *aw = axobject();