下面程序只在windows QT creator上测试过
//QPixmap tmpPix(QString::fromLocal8Bit("\"G:\\f ss\\Demo3_UV.png\"")); no
//QPixmap tmpPix(tr("G:/鬼了/f ss/Demo3_UV.png")); // no
//QPixmap tmpPix((QString::fromLocal8Bit(std::string("G:\\鬼了\\f ss\\Demo3_UV.png").c_str()))); // ok
//QPixmap tmpPix((QString::fromLocal8Bit(std::string("G:/鬼了/f ss/Demo3_UV.png").c_str()))); // ok
//QPixmap tmpPix(tr("C:\Documents and Settings\Demo3_UV.png")); // no
QPixmap tmpPix(tr("C:\\Documents and Settings\\Demo3_UV.png")); // ok
//QPixmap tmpPix(tr("G:/f ss/Demo3_UV.png")); // ok
//QPixmap tmpPix(tr("G:\\f ss\\Demo3_UV.png")); // ok