Fix build with -no-feature-menubar
Pick-to: 6.5 Change-Id: I72bd07dbdcfe07badaadce9f19949ee3e352b13e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
8a96dee4cb
commit
d369eabc30
|
|
@ -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…
Reference in New Issue