Android: feature delivery example use jlong in downloadProgressChangedNative
On 32-bit builds, C++ long is 32 bits while Java long is 64 bits.
Using long in the native method signature causes a type mismatch
that fails Qt's JNI signature validation at compile time. Use jlong
instead, which is 64 bits on all architectures.
Pick-to: 6.11
Change-Id: Iddf1a8269e960de2ae52f74573cf8dcac5ea4d8e
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
| commit | 775a7edcb870c00bafdae280d9d6e2a08c1f2a45 |
| parent | 7af00a9f2ad10637cbba09754997e00761fa259f |
| author | Lauri Pohjanheimo <lauri.pohjanheimo@qt.io> |
| committer | Lauri Pohjanheimo <lauri.pohjanheimo@qt.io> |
| commit time | Wed, 15 Apr 2026 09:48:59 +0000 |