Fix the Qt6 Android build
The Android toolchain is a bit picky about some details here:
- Either fully qualify types or use auto, not something in between.
- [[nodiscard]] attributes have to precede export attributes.
The Android toolchain is a bit picky about some details here: