Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Help me compile this web service application PLEASE!!!!
Qt 6.11 is out! See what's new in the release blog

Help me compile this web service application PLEASE!!!!

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 3.3k 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.
  • R Offline
    R Offline
    rash.m2k
    wrote on last edited by
    #1

    Finally after almost 4 days of non stop work I THINK I may have got some correct XML Qt bindings for my application for the Nokia N9.

    I REALLY REALLY need help with this guys, I'm really struggling and banging my head against the desk, almost gonna give up on Qt!

    But I'm having trouble compiling the application - it complains about undefined references to KDSoap......

    I will upload the Qt project folder and the needed files for compilation for people to help me:

    The following is the Qt project folder, unzip and open the .pro file with QtCreator.

    http://www.mediafire.com/?6u88cptrjxqnpg9

    And the following is the KDsoap application, you need to untar and change the INCLUDELIBS path to point to the include folder:

    http://www.mediafire.com/?s76n8a2gt655d53

    In the meantime the following is the first few (of around 1500) error messages!

    @
    13:50:10: Running build steps for project ebayws_test...
    13:50:10: Configuration unchanged, skipping qmake step.
    13:50:10: Starting: "/usr/bin/make" -w
    make: Entering directory /home/tux/workspace-qt/ebayws_test-build-desktop-Desktop_Qt_4_7_4_for_GCC__Qt_SDK__Release' /home/tux/QtSDK/Desktop/Qt/474/gcc/bin/qmake -spec ../../QtSDK/Desktop/Qt/474/gcc/mkspecs/linux-g++ -o Makefile ../ebayws_test/ebayws_test.pro make: Leaving directory /home/tux/workspace-qt/ebayws_test-build-desktop-Desktop_Qt_4_7_4_for_GCC__Qt_SDK__Release'
    make: Entering directory /home/tux/workspace-qt/ebayws_test-build-desktop-Desktop_Qt_4_7_4_for_GCC__Qt_SDK__Release' g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../QtSDK/Desktop/Qt/474/gcc/mkspecs/linux-g++ -I../ebayws_test -I../../QtSDK/Desktop/Qt/474/gcc/include/QtCore -I../../QtSDK/Desktop/Qt/474/gcc/include/QtGui -I../../QtSDK/Desktop/Qt/474/gcc/include -I../../development/kd_soap-1.1.0-source/include -I. -I. -I../ebayws_test -I. -o main.o ../ebayws_test/main.cpp ../ebayws_test/main.cpp: In function 'int main(int, char**)': ../ebayws_test/main.cpp:10:9: warning: unused variable 'i' g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../QtSDK/Desktop/Qt/474/gcc/mkspecs/linux-g++ -I../ebayws_test -I../../QtSDK/Desktop/Qt/474/gcc/include/QtCore -I../../QtSDK/Desktop/Qt/474/gcc/include/QtGui -I../../QtSDK/Desktop/Qt/474/gcc/include -I../../development/kd_soap-1.1.0-source/include -I. -I. -I../ebayws_test -I. -o wsdl_FindingService.o ../ebayws_test/kdsoap/wsdl_FindingService.cpp In file included from ../ebayws_test/kdsoap/wsdl_FindingService.cpp:4:0: ../ebayws_test/kdsoap/wsdl_FindingService.h:1934:29: warning: type qualifiers ignored on function return type ../ebayws_test/kdsoap/wsdl_FindingService.h:2086:29: warning: type qualifiers ignored on function return type ../ebayws_test/kdsoap/wsdl_FindingService.cpp:7575:40: warning: type qualifiers ignored on function return type ../ebayws_test/kdsoap/wsdl_FindingService.cpp:8162:38: warning: type qualifiers ignored on function return type /home/tux/QtSDK/Desktop/Qt/474/gcc/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../QtSDK/Desktop/Qt/474/gcc/mkspecs/linux-g++ -I../ebayws_test -I../../QtSDK/Desktop/Qt/474/gcc/include/QtCore -I../../QtSDK/Desktop/Qt/474/gcc/include/QtGui -I../../QtSDK/Desktop/Qt/474/gcc/include -I../../development/kd_soap-1.1.0-source/include -I. -I. -I../ebayws_test -I. ../ebayws_test/kdsoap/wsdl_FindingService.h -o moc_wsdl_FindingService.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../QtSDK/Desktop/Qt/474/gcc/mkspecs/linux-g++ -I../ebayws_test -I../../QtSDK/Desktop/Qt/474/gcc/include/QtCore -I../../QtSDK/Desktop/Qt/474/gcc/include/QtGui -I../../QtSDK/Desktop/Qt/474/gcc/include -I../../development/kd_soap-1.1.0-source/include -I. -I. -I../ebayws_test -I. -o moc_wsdl_FindingService.o moc_wsdl_FindingService.cpp In file included from moc_wsdl_FindingService.cpp:10:0: ../ebayws_test/kdsoap/wsdl_FindingService.h:1934:29: warning: type qualifiers ignored on function return type ../ebayws_test/kdsoap/wsdl_FindingService.h:2086:29: warning: type qualifiers ignored on function return type g++ -Wl,-O1 -Wl,-rpath,/home/tux/QtSDK/Desktop/Qt/474/gcc/lib -o ebayws_test main.o mainwindow.o wsdl_FindingService.o moc_mainwindow.o moc_wsdl_FindingService.o -L/home/tux/QtSDK/Desktop/Qt/474/gcc/lib -lQtGui -lQtCore -lpthread wsdl_FindingService.o: In function TNS__FindItemsForFavoriteSearchRequest::startTimeFrom() const':
    wsdl_FindingService.cpp:(.text+0x253c): undefined reference to KDDateTime::KDDateTime(KDDateTime const&)' wsdl_FindingService.o: In function TNS__FindItemsForFavoriteSearchRequest::PrivateDPtr::PrivateDPtr()':
    wsdl_FindingService.cpp:(.text+0x31d9): undefined reference to KDDateTime::KDDateTime()' wsdl_FindingService.cpp:(.text+0x3212): undefined reference to KDDateTime::~KDDateTime()'
    wsdl_FindingService.o: In function TNS__BaseServiceRequest::serialize(QString const&) const': wsdl_FindingService.cpp:(.text+0x362b): undefined reference to KDSoapValue::KDSoapValue(QString const&, QVariant const&, QString const&, QString const&)'
    @

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rash.m2k
      wrote on last edited by
      #2

      Okay people I think I've solved it!!!!

      The problem was that the header file was included in the project, but corresponding definition (i.e. either a library or the .cpp file!) was not! I should have seen this ages ago!

      Anyway after I included the actual CPP and .H files it compiled properly!

      The only problem is the code is GPL - could I create a library and use this code in my application?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        [quote author="rash.m2k" date="1325442377"]
        The only problem is the code is GPL - could I create a library and use this code in my application?[/quote]

        You'd better ask this the KDAB guys.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          [quote author="Volker" date="1325442606"]
          [quote author="rash.m2k" date="1325442377"]
          The only problem is the code is GPL - could I create a library and use this code in my application?[/quote]

          You'd better ask this the KDAB guys.[/quote]
          ... true, but I would think: no, unless your application is GPL too.

          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