使用道具 举报
qt4里每个char存留unicode,第二字节为零,你可以试下 printf("%s\n", qPrintable(str)); 或者把 win32:CONFIG += console 加到.pro里面 TQ-ZQL 发表于 2011-11-25 11:41
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
查看 »
Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )
GMT+8, 2025-5-3 20:36 , Processed in 2.046938 second(s), 20 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.