[SOLVED] gSOAP linkage errors (QT5)



  • Hi!

    I tried to build my static application with gSOAP. I include all needed *.cpp files and I misunderstand, why I got linkage errors. I double check for the needed functions.

    @stdsoap2.obj:-1: ошибка: LNK2019: unresolved external symbol _soap_faultcode referenced in function _http_response
    stdsoap2.obj:-1: ошибка: LNK2019: unresolved external symbol _soap_getheader referenced in function _soap_recv_header
    stdsoap2.obj:-1: ошибка: LNK2019: unresolved external symbol _soap_faultsubcode referenced in function _soap_set_fault
    .......@

    My .pro file:

    @QT += widgets core network

    HEADERS = mainwindow.h
    soapStub.h
    stdsoap2.h
    soapH.h
    StdAfx.h
    realty.h

    FORMS = mainwindow.ui

    RESOURCES = realtymanager.qrc

    SOURCES = main.cpp
    mainwindow.cpp
    stdsoap2.cpp
    soapC.cpp
    StdAfx.cpp
    soapClient.cpp
    soapClientLib.cpp

    INCLUDEPATH += D:\QT5\gsoap-2.8\gsoap
    INCLUDEPATH += D:\QT5\openssl-1.0.1e\include

    INSTALLS += target

    CONFIG += static

    OTHER_FILES += realty.nsmap@



  • SOLVED: extra include of "soapClientLib.cpp" was removed.


Log in to reply
 

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