帮助在C ++和QT中编写代码 [英] Help for write code in C++ and QT

查看:133
本文介绍了帮助在C ++和QT中编写代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为.xml文件编写代码,他们存储用户提供的所有信息。

我的项目是构建自动化......

在项目中使用Qt / C ++。 ..

该项目是构建自动化,在此项目中提供编码路径和用户信息并创建.xml文件,然后调用xml文件以进行进一步操作....

解决方案

Qt对XML有很好的支持,并且Qt SDK附带了一些如何使用它的好例子。我建议您查阅这些示例或使用Qt + XML +示例等标准在互联网上搜索。任何人都不可能有一个预装的Qt Xml课程来保存你想要的信息,他们可以在这里粘贴到解决方案中。

另一方面你可能会很幸运。

I want write code for .xml file whoes store all information given by user.
My project is build automation ...
In project use Qt/C++ ...
The project is build automation and in this project give the coding path and user information and create .xml file and then call xml file for further operation....

解决方案

Qt has excellent support for XML and some good examples of how to use it come with the Qt SDK. I suggest you consult those examples or search the internet with criteria such as "Qt+XML+Example". It''s not likely anyone has a pre-canned Qt Xml class for saving the kind of information you want that they can just paste into a solution here.
On the other hand you might get lucky.


这篇关于帮助在C ++和QT中编写代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆