QByteArray转QString 例如 0x45 转成 “45” QByteArray cmd = {0x45, 0x56}; QString str = QString(cmd.toHex());