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.9 6.8
Change-Id: Ia49001d61f0967df84344779909860cf65c3623c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Volker Hilsheimer 2025-02-13 11:09:30 +01:00
parent 97a6512724
commit 6c61d7b0f8

View File

@ -9,6 +9,11 @@
#include <QtCore/qjnitypes_impl.h> #include <QtCore/qjnitypes_impl.h>
#include <QtCore/qjniobject.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_BEGIN_NAMESPACE
// QT_TECH_PREVIEW_API // QT_TECH_PREVIEW_API