您的位置:首页 > 编程语言 > Qt开发

QtSoap开发web services客户端程序

2015-12-07 10:01 330 查看
 首先需要下载QtSoap开源包,下载地址为:

http://www.filestube.com/q/qtsoap+download

我使用的是:qtsoap-2.6-opensource(不需要安装,直接解压到某个目录即可)。

   如果你从未使用过QtSoap,那么先学习其中的Demo,在目录"examples"中,有easter,google和population 三个例子。

 

Note to Qt Visual Studio Integration users: In the instructions below, instead of building from command line with nmake, you can use the menu command 'Qt->Open Solution from .pro file' on
the .pro files in the example and plugin directories, and then build from within Visual Studio.

如果是使用的的是VS+Qt开发方式,在使用菜单中的"Qt→Open Qt Project File (.pro)... 来打开以上工程文件。

 

    本人使用的是VS2010,在采用以上方法时,仍然无法正常载入,于是我先用VS2005打开,在VS2005里对以上项目进行保存,再在VS2010里重新打开,当然在VS2010里重新打开时会提示需要进行格式转换,成功后你就可以编译运行Demo了。

 

本人先重写了:population,主要是为了熟悉下QtSoap以及开发配置。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: