JNI: generate QtJniTypes forwarding header for the namespace

The documentation claims that this is where the namespace and the macro
definitions live, and it's convention to have a Qt<Namespace> header for
Qt namespaces.

Pick-to: 6.8
Change-Id: Ia49001d61f0967df84344779909860cf65c3623c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 6c61d7b0f804ae5c048af95abef4d41ecc8862df)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Volker Hilsheimer 2025-02-13 11:09:30 +01:00 committed by Qt Cherry-pick Bot
parent cedaf89b0f
commit afc5747e9b

View File

@ -9,6 +9,11 @@
#include <QtCore/qjnitypes_impl.h>
#include <QtCore/qjniobject.h>
#if 0
// This is needed for generating the QtJniTypes forward header
#pragma qt_class(QtJniTypes)
#endif
QT_BEGIN_NAMESPACE
// QT_TECH_PREVIEW_API