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. 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> (cherry picked from commit 8b59467d20598527206d43ea1543e4d0961080b1)
This commit is contained in:
parent
76f9e8a0c2
commit
ab60d805ca
@ -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