Fix build with QT_NO_GRAPHICSVIEW
Change-Id: I81cfed124a2e9e1c46c966c4819e89df5abd4f74 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
34dba9261e
commit
63cf8ad33a
@ -40,6 +40,9 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "qgraphicsgridlayoutengine_p.h"
|
||||
|
||||
#ifndef QT_NO_GRAPHICSVIEW
|
||||
|
||||
#include "qgraphicslayoutitem_p.h"
|
||||
#include "qgraphicslayout_p.h"
|
||||
#include "qgraphicswidget.h"
|
||||
@ -99,3 +102,5 @@ int QGraphicsGridLayoutEngine::stretchFactor(QGraphicsLayoutItem *layoutItem, Qt
|
||||
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QT_NO_GRAPHICSVIEW
|
||||
|
@ -44,6 +44,8 @@
|
||||
|
||||
#include <QtGui/private/qgridlayoutengine_p.h>
|
||||
|
||||
#ifndef QT_NO_GRAPHICSVIEW
|
||||
|
||||
#include <QtWidgets/qsizepolicy.h>
|
||||
#include <QtWidgets/qstyle.h>
|
||||
#include <QtWidgets/qstyleoption.h>
|
||||
@ -122,4 +124,6 @@ public:
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QT_NO_GRAPHICSVIEW
|
||||
|
||||
#endif // QGRAPHICSGRIDLAYOUTENGINE_P_H
|
||||
|
@ -38,7 +38,11 @@
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "qgraphicslayoutstyleinfo_p.h"
|
||||
|
||||
#ifndef QT_NO_GRAPHICSVIEW
|
||||
|
||||
#include "qgraphicslayout_p.h"
|
||||
#include "qgraphicswidget.h"
|
||||
#include <QtWidgets/qstyle.h>
|
||||
@ -106,3 +110,5 @@ QStyle *QGraphicsLayoutStyleInfo::style() const
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QT_NO_GRAPHICSVIEW
|
||||
|
Loading…
x
Reference in New Issue
Block a user