`
openstudy
  • 浏览: 232369 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

qt gsoap编译 pro文件

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

# ! [0]
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.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics