📅  最后修改于: 2022-03-11 14:44:46.420000             🧑  作者: Mango
// ^ operator is not defined for QChar, you have to convert it to char first
QChar a = 'x';
char b = a.toLatin1();
char c = b ^ 0x0f;