Fix -no-pch build

Amends 589bfddc7c44a92e7e3f98a1e73871793c153ab7

Avoid "'QObject': base class undefined" errors with MSVC when
configured with -no-pch by adding the missing include.

Change-Id: I80b0a0ab705f4466fc1d94da253b26ba3ab31779
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Laszlo Agocs 2025-04-03 12:19:34 +02:00
parent a20f281212
commit 15eeb3f511

View File

@ -20,6 +20,7 @@
#include <QtCore/qstringview.h>
#include <QtCore/qt_windows.h>
#include <QtCore/qvariant.h>
#include <QtCore/qobject.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/private/quniquehandle_types_p.h>