partial build fix for the case when QT_NO_MDIAREA is defined

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-02-25 19:11:07 +02:00
parent c62480461d
commit 523fc81174
4 changed files with 7 additions and 11 deletions

View file

@ -25,12 +25,10 @@
#include <QtGui/qabstractscrollarea.h>
#include <QtGui/qtabwidget.h>
#ifndef QT_NO_MDIAREA
QT_BEGIN_NAMESPACE
#ifndef QT_NO_MDIAREA
class QMdiSubWindow;
class QMdiAreaPrivate;
@ -151,6 +149,6 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QMdiArea::AreaOptions)
QT_END_NAMESPACE
#endif // QT_NO_MDIAREA
#endif // QMDIAREA_H

View file

@ -258,8 +258,8 @@ public:
#endif // QT_NO_RUBBERBAND
};
#endif // QT_NO_MDIAREA
QT_END_NAMESPACE
#endif // QT_NO_MDIAREA
#endif // QMDIAREA_P_H

View file

@ -24,12 +24,10 @@
#include <QtGui/qwidget.h>
#ifndef QT_NO_MDIAREA
QT_BEGIN_NAMESPACE
#ifndef QT_NO_MDIAREA
class QMenu;
class QMdiArea;

View file

@ -321,8 +321,8 @@ public:
}
};
#endif // QT_NO_MDIAREA
QT_END_NAMESPACE
#endif // QT_NO_MDIAREA
#endif // QMDISUBWINDOW_P_H