Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Error while compiling Qt soap client



  • I was trying to use qt for creating client side of a web service with generated gSoap files. after adding neccessary files and stdsoap2 files and also adding :

    LIBS += C:\Qt2\Qt5.0.1\Tools\MinGW\i686-w64-mingw32\lib\libws2_32.a

    to .pro file. but after that i got the following errors :

    C:\Qt2\Qt5.0.1\Tools\QtCreator\bin\gSoap3\stdsoap2.cpp:8845: error: undefined reference to `namespaces'

    collect2.exe:-1: error: error: ld returned 1 exit status

    what should i do?

    Thanks in advance.



  • Hi,

    this is a common problem related to gSoap and not to Qt.
    I suggest you to search on google because there are many cases of study and examples.


Log in to reply