diff --git a/src/widgets/BaseWindow.cpp b/src/widgets/BaseWindow.cpp index a7302cb80..71fd0d22f 100644 --- a/src/widgets/BaseWindow.cpp +++ b/src/widgets/BaseWindow.cpp @@ -434,6 +434,8 @@ bool BaseWindow::nativeEvent(const QByteArray &eventType, void *message, long *r default: return QWidget::nativeEvent(eventType, message, result); } +#else + return QWidget::nativeEvent(eventType, message, result); #endif }