摘要:
本文以BeJson(https://www.bejson.com/)中的JSON在线编辑器示例内容作为学习Qt中构建、解析Json的参考方法。 1、Json文本 { "name": "BeJson", "url": "http://www.bejson.com", "page": 88, "isNo 阅读全文
摘要:
void testReadWriteFile() { //当前程序所在文件夹 QString dirPath = QCoreApplication::applicationDirPath(); QString path = QDir::cleanPath(dirPath + QDir::separa 阅读全文