Using gSoap in Qt/Windows

后端 未结 1 1570
离开以前
离开以前 2021-01-03 05:38

I followed the steps on gSoap\'s page and tried to run the example code in Qt/Windows with Mingw32 Compiler. However, I can\'t add lgsoap++ to linker, as stated in the docum

1条回答
  •  抹茶落季
    2021-01-03 06:19

    Finally, I have resolved it. Follow the guidelines on the gSoap's page. Add the following files to your project: generated *.cpp, *.h, *.nsmap, service definition file - the name of which you type on command line e.g. calc.h in the guideline - and stdsoap2.h/cpp files in the gsoap directory of the downloaded zip file. After including proxy file -e.g. soapcalcProxy.h - and *.nsmap to your main file there remains one thing that I forgot to realize before:

    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 讨论(0)
提交回复
热议问题