标签:debug bit pre from 字符 string == str 字符串
Qt比较字符串Qstring是否相等
QString str = "相等"; if(str ==QString::fromLocal8Bit("球形")) { qDebug()<<"相等"; }
原文地址:https://www.cnblogs.com/herd/p/11739869.html