📜  qt 不能在 qchar 上使用 ^ 运算符 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:46.420000             🧑  作者: Mango

代码示例1
// ^ 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;