qpen_p.h: include what you need

In QtCreator, the file lit up like a Christmas tree from all the
undefined types :)

Amends the start of the public history.

Pick-to: 6.8 6.5 6.2 5.15
Change-Id: I558ad493a4848e6a28bd37a38f2432c5605e0f43
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit 768ab2051765f3825903c449a2f0e2c07e665152)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2025-01-30 11:59:23 +01:00 committed by Qt Cherry-pick Bot
parent 004c87ced5
commit ad014ed702

View File

@ -15,7 +15,11 @@
// We mean it.
//
#include <QtGui/qbrush.h>
#include <QtCore/private/qglobal_p.h>
#include <QtCore/qlist.h>
#include <QtCore/qnamespace.h>
#include <QtCore/qshareddata.h>
QT_BEGIN_NAMESPACE