From 8b59467d20598527206d43ea1543e4d0961080b1 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Mon, 3 Mar 2025 22:18:17 +0100 Subject: [PATCH] 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 (cherry picked from commit 98653cca453fe3d88807d1a314ae17efadd7c958) Reviewed-by: Qt Cherry-pick Bot --- src/widgets/styles/qstylehelper_p.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/styles/qstylehelper_p.h b/src/widgets/styles/qstylehelper_p.h index 48f77a65432..eb9c1d4f008 100644 --- a/src/widgets/styles/qstylehelper_p.h +++ b/src/widgets/styles/qstylehelper_p.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #ifndef QSTYLEHELPER_P_H