QStyleHelper: fix compilation with disabled features
When certain features are disabled, qguiapplication.h does not get included which results in a compiler error. Therefore add it directly. Pick-to: 6.9.0 6.8 Fixes: QTBUG-134235 Change-Id: I7836fc52c5037ca15c7ce48617c9f814d71963aa Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 98653cca453fe3d88807d1a314ae17efadd7c958) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
d6802feee0
commit
8b59467d20
@ -9,6 +9,7 @@
|
||||
#include <QtCore/qstringbuilder.h>
|
||||
#include <QtGui/qaccessible.h>
|
||||
#include <QtGui/qpainter.h>
|
||||
#include <QtGui/qguiapplication.h>
|
||||
#include <QtWidgets/qwidget.h>
|
||||
|
||||
#ifndef QSTYLEHELPER_P_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user