summaryrefslogtreecommitdiff
path: root/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp')
-rw-r--r--src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp b/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp
index 31ecda035..4c08dcefc 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();