UID:126217
UID:97396
引用第3楼roywillow于2012-04-03 08:29发表的 :QByteArray ip=ui->setipLineEdit->text().toLatin1();之后ip会被赋值为一个类似255.255.255.255的字符串吧 QString str= ip.toHex().data();然后你给他来了个toHex(),之后str的返回值你知道是什么吗?大概会是3235352e3235352e3235352e323535的字符串.......
UID:44347