2 c++ windows qt qt4 lpcstr
如何将QString转换为LPCSTR?
如果定义#ifdef UNICODE并且不定义#ifdef UNICODE,我该怎么做?
非常感谢 :)
sno*_*kin 11
我猜:
QString str("ddddd"); LPCSTR lstr = str.toStdString().c_str();
归档时间:
14 年,8 月 前
查看次数:
11661 次
最近记录:
12 年,9 月 前