summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qguivariant/test/stream/qt5.0/qpen.bin
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-06-21 21:51:00 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-06-23 03:25:01 +0200
commitd1b89671de70ac9ffca52337058e976d86a367c1 (patch)
tree1f05c818531c3a580b7554b19aac290b586241be /tests/auto/gui/kernel/qguivariant/test/stream/qt5.0/qpen.bin
parent8bd532b1e54e220c81cd742fabaa236b1e7679c4 (diff)
JNI: don't declare namespaces nested into QtJniTypes as inlineHEADdev
Sadly, inline namespaces are resulting in ambiguities. With two declarations QtJniTypes::android::io::File and QtJniTypes::org::qtproject::qt::android::QtWindow referring to QtJniTypes::android already is ambiguous if `org`, `qtproject`, and `qt` namespaces are all inline. This breaks the idea behind Q_DECLARE_JNI_CLASS as a variadic macro that generates types that we can transparently use as QtJniTypes. So remove the inline keyword from the namespace declarations. The macro might still be the way to go, but user code will to either fully qualify the types, or use `using namespace QtJniTypes::java::lang` to use e.g. the `String` type without ambiguities. Types declared with the two-argument overload continue to live directly in the QtJniTypes namespace anyway. As a drive-by, break the excessively long lines. Pick-to: 6.8 Change-Id: Ie9303e6c9117fb96b3cff31c7df4df92237b5520 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel/qguivariant/test/stream/qt5.0/qpen.bin')
0 files changed, 0 insertions, 0 deletions