There is no possible implementation of QChar.unicode() returning a int&. Replace with unicodep() returning int*. The allows athe code to compile. To be determined if the reference access ever work on ARM as it cannot make the unaligned access.