02-01-2013 02:24 AM - edited 02-01-2013 02:25 AM
Yes you are right, I also downloaded that code and run, it is working fine, but I want that code in my LiveProject. I am developing for blackberry10..
I added like this,.
INCLUDEPATH += \ $$BASEDIR/src/qtsoap \ $$BASEDIR/src SOURCES += \ $$BASEDIR/src/WebServices.cpp \ $$BASEDIR/src/main.cpp \ $$BASEDIR/src/qtsoap/qtsoap.cpp HEADERS += \ $$BASEDIR/src/WebServices.h \ $$BASEDIR/src/qtsoap/qtsoap.h
I already tried that but same error....
02-01-2013 02:46 AM
In this case I would comment all the places where you try to use the QtSoapHttpTransport and includes (firstly make a backup if you are not using git or svn) - Clean&Build - if it will succed add the #include "qtsoap/qtsoap.h" and QtSoapHttpTransport object or pointer to a header file where you want to use it and Clean&Build. If it won't succeed than you need to remove the qtsoap directory from the project and add new class QtSoapHttpTransport, maybe straight in the src. Then check if you can use it (Clean&Build). If ok copy/paste the code from qtsoap.cpp/qtsoap.h into QtSoapHttpTransport.cpp/QtSoapHttpTransport.h/
02-01-2013 03:52 AM
Thanks for effort..
I removed soap directory from src folder and created class QtSoapHttpTransport and copy/paste all code from soap.cpp to QtSoapHttpTransport.cpp.. but still same issue..
I got error in problems.
Below is screenshots. I hope you can understand now what is actually problem..
02-01-2013 04:09 AM
I don't see the screenshot - a similar issue confused me in the past but the steps from my previous post resolved it. Did you try to Clean&Build the project before copying the code from soap.cpp.
02-04-2013 05:42 AM - edited 02-04-2013 05:59 AM
Thanks to all for reply me..
I found out solution for this issue..
I follow rcebryk 's insturction, created new class and copy/paste code from qtsoap.cpp to QtSoapHttpTransport.cpp and same as for .h file..
And one more thing..
Added this line in .pro file
CONFIG += qt warn_on debug_and_release cascades
Clearn & build project.. problem solved..