QString Splitefilename ="中文.jpg"; cv::imwrite(Splitefilename.toLocal8Bit().data(), smallImg); 使用 toLocal8Bit().data()