[Solved] Building KDSoap on Windows



  • Hi.

    I am searching for a library to make soap request (Windows & Mac). gSoap is GPL only so it doesn't suit me. QtSoap seemed a bit light and doesn't build correctly with Qt5.

    So KDSoap seemed to be the one... but I cannot build it. Instructions talk about a configure.bat file... which doesn't exit. I tried to directly open the .pro file or use CMake but I get errors.

    What is the correct way to build it ?

    Thanks forward,
    Sebastien


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    I just took a quick look at the sources, it seems the configure.bat is not there. But it looks like you might use either cmake or qmake to build it. Did you try ?



  • Yes, I tried but it didn't work. CMake generates errors about VERSION and a quick look at the cmake file indicates me that it must be preprocessed (by autogen tools on Linux ?). Of course, I may be wrong.

    Qmake generated errors but i don't remember which ones.

    I'll probably try again but I hoped someone had done this before.



  • Ok, I emailed KDAB and they told me what to do.

    I was using the release package from github but I was following the wrong instructions. The instructions with the configure.bat are for paying customers who get a special package. Those who get the release package from github or who clone the git repository must follow the other instructions (git command for autogen, run the python autogen.py script and then build with whatever tool they use).


  • Lifetime Qt Champion

    And the build instructions have been updated on github !

    Thanks for sharing the solution

    Can you also update the thread title prepending [solved] ? So other forum users may know a solution has been found :)



  • Done. I had quickly searched for a way to mark it solved and didn't find any. Now, I did :-)

    Happy holidays to everyone !


  • Lifetime Qt Champion

    Same to you, thank you !


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.