Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] gSOAP linkage errors (QT5)
Qt 6.11 is out! See what's new in the release blog

[SOLVED] gSOAP linkage errors (QT5)

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 3.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    unmanner
    wrote on last edited by
    #1

    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@

    1 Reply Last reply
    0
    • U Offline
      U Offline
      unmanner
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved