ITeye博客

qt gsoap编译 pro文件

openstudy · 2011-01-08 14:54 · 编程语言 · Markdown

费了好大的劲终于配置好了.pro文件,内容如下

!

INCLUDEPATH += ../import LIBS += D:/MinGW/lib/libws2_32.a TEMPLATE = lib CONFIG += test-service HEADERS = TestService.h
ImplAlmsService.h
webservice/test/soapH.h
webservice/test/soapStub.h
webservice/test/soapTestSoapBindingProxy.h SOURCES = TestService.cpp
ImplAlmsService.cpp
webservice/test/soapC.cpp
webservice/test/soapTestSoapBindingProxy.cpp
../import/stdsoap2.cpp TARGET = test-service DESTDIR = ../lib OTHER_FILES += webservice/test/TestSoapBinding.nsmap

主要是参考了http://stackoverflow.com/questions/2795760/using-gsoap-in-qt-windows提到的add LIBS += C:\MinGW\lib\libws2_32.a to your *.pro file. libws32_a is the current version of the deprecated libwsock32.a file.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。