赞
踩
QString str = QString::fromLocal8Bit("球形");if(str.compare(QString::fromLocal8Bit("球形") == 0){ } 或者:if(str ==QString::fromLocal8Bit("球形")){ }