qt QMessageBox 中文乱码的问题

QMessageBox::information(this,"Warn", "请插入U盘"); ==================》 QMessageBox::information(this,"Warn", QString::fromLocal8Bit("请插入U盘"));
原文地址:https://www.cnblogs.com/lwmp/p/7544104.html