Fix build with -no-feature-menubar
Change-Id: I72bd07dbdcfe07badaadce9f19949ee3e352b13e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit d369eabc30c0294f954933dd5440b280331de5ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
db97cdf7e9
commit
d5ce480b1d
@ -64,6 +64,7 @@ QAction *QToolBar::addAction(const QIcon &icon, const QString &text,
|
||||
}
|
||||
#endif
|
||||
|
||||
#if QT_CONFIG(menubar)
|
||||
#include "qmenubar.h"
|
||||
|
||||
QAction *QMenuBar::addAction(const QString &text)
|
||||
@ -75,6 +76,7 @@ QAction *QMenuBar::addAction(const QString &text, const QObject *receiver, const
|
||||
{
|
||||
return QWidget::addAction(text, receiver, member);
|
||||
}
|
||||
#endif
|
||||
|
||||
// #include <qotherheader.h>
|
||||
// // implement removed functions from qotherheader.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user