01-29-2013 11:51 PM
I am implementing SOAP WebServices.. Its successfully work in demo application. I got code from SourceCode, but when I implementing same code in my live project then it is give me error in .hpp file.
undefined reference to vtable & undefined reference to QtSoapHttpTransport
Solved! Go to Solution.
01-30-2013 03:03 AM
01-30-2013 03:37 AM
01-30-2013 03:42 AM
01-30-2013 03:51 AM - edited 01-30-2013 03:53 AM
I got same error in all .ccp file, I am sure that all functions declare at once in whole project.. as per your solution i add only that library file to .pro file. after that no any error in class but got error in project folder like http://18.104.22.168/t5/Cascades-Development/Erro
01-30-2013 09:04 AM
01-31-2013 11:42 PM
02-01-2013 12:35 AM
There is one workaround to make the .pro file correct, I could not find a shorter way but it should exist.
You can create new Project and add all the classes (.cpp .h files) to the project again. Please note that if you will just copy the cpp. (.h, .hpp) files into src directory it won't be correctly added to pro file. You need to use the: New -> Class and define all the classes that you would like to use, then just update the code.
02-01-2013 01:53 AM - edited 02-01-2013 02:02 AM
Hey, rcebryk. I did same as your way.. created new project & create all new class, and copy/paste code inside class.. but still facing same error...
When I change this line CONFIG += qt warn_on debug_and_release cascades, all error gone, also created binaries files but when I trying to run it give me error Launch Failed no binaries,
I don't know why this error coming, becuase there are already created binaries files..
02-01-2013 02:19 AM
I have just downloaded the project from https://developer.blackberry.com/cascades/files/re
I have imported it into the workspace straight from archive, set build configuration to Device-Debug, built it and it's working. You must have changed something that broke the vtable.
Does you .pro file contain:
SOURCES += ../src/*.cpp ../src/qtsoap/*.cpp
HEADERS += ../src/*.hpp ../src/*.h ../src/qtsoap/*.h