How can I convert a QString to char* and vice versa ?(trolltech) Answer:In order to convert a QString to a char*, then you first need to get a latin1 representation of the string by calling toLatin1() on it which will return a QByteArray. Then call d
SVN无法读取current修复方法 Can't read file : End of file found 文件:repository/db/txn_current.repository/db/current 其中current记录当前最新版本号,txn_current记录版本库中版本号文件所存放文件夹 原因:在提交文件时,svn服务器被强行关闭了,导致版本信息文件写入不成功,版本记录文件txn_current.current成了乱码. 解决办法:重新将正确的版本信息写入到current.tx