Fix build with -no-feature-buttongroup

.../qabstractbutton.cpp: In member function ‘virtual void
QAbstractButton::keyPressEvent(QKeyEvent*)’:
.../qabstractbutton.cpp:1010:58: error: incomplete type
‘QGuiApplicationPrivate’ used in nested name specifier

Change-Id: Ia71bb481d125087aa813c891f9508755f435f4d2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit ca772a8ffa2fdde4238ff0af325997dd78dbfe83)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tasuku Suzuki 2023-01-16 00:28:47 +09:00 committed by Qt Cherry-pick Bot
parent 27fa63a430
commit d93e748a88

View File

@ -8,9 +8,9 @@
#endif
#if QT_CONFIG(buttongroup)
#include "qbuttongroup.h"
#include "private/qapplication_p.h"
#include "private/qbuttongroup_p.h"
#endif
#include "private/qapplication_p.h"
#include "qabstractbutton_p.h"
#include "qevent.h"
#include "qpainter.h"