Qt取得的路径都是/这种斜杆,有没有地方设置成\\这种?
现在显示要显示成\这种类型的斜杆,挺多地方要替换,不知道有没有快捷的设置?
[解决办法]
For example, if you have installed Qt in the C:\Trolltech\Qt directory, and you run the regexp example, this function will return "C:/Trolltech/Qt/examples/tools/regexp".
你是想手动快捷替换,还是要写在程序中实现?
Ctrl+F or 字符串处理??
[解决办法]
QDir::toNativeSeparators
[解决办法]