logo
IRC Archive / Freenode / #qt / 2010 / May / 08 / 5
peppe
chakie: I have no idea of why qt3 is the default. probably people install qt3 first and then qt4, therefore "qmake" points to the qt3 version. we should ask svuorela , btw :P
special
at the coordinates of the item
or you can promote those to public in a subclass.
chakie
peppe: but why would anyone even get any qt3 devel packages installed?
peppe: that should be something you need to install from a "ancient cruft" repo
special
they're separate packages, I think
snapcall
special: Thanks for the advice about posting to QGraphicsScene. How do I promote hoverEnterEvent() and hoverLeaveEvent() to public in a subclass?
chakie
special: of course
KucukMubasir: is the lib really called "lgsoap++"?
special
public: using Subclass::hoverEnterEvent(); using Subclass::hoverLeaveEvent();
or reimplement them in public:
chakie
KucukMubasir: that would give you a file liblgsoap++.so.x.y.z
special
superclass* sorry
snapcall
special: In my case, I am dealing with a 3rd party QGraphicsItem. This method does not apply does it?
special
correct
KucukMubasir
chakie there isn't such a lib in directory, I think I need to generate it but I can't handle it :S
"The gSOAP engine is build as a library libgsoap.a and libgsoap++.a with separate versions that support SSL. See the README.txt instructions on how to build these libraries with the platform-independent gSOAP package's autoconf and automake. Alternatively, you can compile and link the engine's source code stdsoap2.c (or stdsoap2.cpp for C++) directly with your code. "
chakie
KucukMubasir: what i mean is that you seem to add the library in a wrong way
KucukMubasir: the extra "l" is what i refer to
KucukMubasir: but i sense you're just guessing here?
KucukMubasir
no it is added as in here :LIBS += -lgsoap++ http://www.codeproject.com/KB/webservices/Qt_4_5_with_GSOAP_.aspx
I am not guessing, that is what tutorial tells
chakie
where is the lib really?
KucukMubasir
but there isn't such a lib in any directories.
chakie
and is that path searched?
have you built it?
KucukMubasir
It doesn't exist
no
chakie
doh
KucukMubasir
I haven't
chakie
so build it or include it
as per the docs you pasted yourself
how do you assume that you can just link to something that does not exist?
KucukMubasir
"The gSOAP toolkit is mostly self-contained and does not require any third-party
software to run in a basic configuration. When compression and SSL encryption
are required the Zlib and OpenSSL libraries must be installed.
To build the gSOAP 'soapcpp2' compiler, you must have Bison and Flex installed
or the older Yacc and Lex equivalents. Note that licensing differs for Flex
versus Lex, and Bison versus Yacc."
:S
sorry for that unpleasant paste
chakie
and?
"Alternatively, you can compile and link the engine's source code stdsoap2.c (or stdsoap2.cpp for C++) directly with your code"
as someone said ages ago
KucukMubasir
I did it
chakie
and?
enkidu
anyone know good PDU encoder/decoder? if not, I will start my own in Qt
KucukMubasir
and I pasted the output here
chakie
too lazy to go looking for it
if you added it to SOURCES it should be enough, as per the docs you gave
alterntively build the lib
KucukMubasir
chakie, this is the output http://pastebin.com/vMn9XbrF
chakie
winduhs
KucukMubasir
beg your pardon?
chakie
add the libs that the soap lib needs
KucukMubasir
there isn't such a lib
where?
chakie
then you're screwed
C:\Users\Ozgur\Documents\Qt\Console/gsoap/stdsoap2.cpp:557: undefined reference to `sendto@24'
KucukMubasir
here is the source file chakie http://sourceforge.net/projects/gsoap2/files/
chakie
etc
where are those functions defined?
what lib?
add that/them
KucukMubasir
chakie, they are defined there.
just as the constructore TimeServerImplPortBindingProxy
but the qt still can't find it :S
chakie
qt doesn't find anything
KucukMubasir
for instance: C:\Users\Ozgur\Documents\Qt\Console/main.cpp:11: undefined reference to `TimeServerImplPortBindingProxy::TimeServerImplPortBindingProxy()'
the compiler*
chakie
your linker needs to find the stuff
KucukMubasir
hmm
that constructor is defined there
chakie
why not ask the gsoap developers?
this really isn't a qt problem
KucukMubasir
ok I will. this is my pro file http://pastebin.com/zDJPiz4A
chakie
what extra libs does gsoap depend on?
it needs some functions like:
C:\Users\Ozgur\Documents\Qt\Console/gsoap/stdsoap2.cpp:3223: undefined reference to `WSAStartup@8'
where are those defined?
i know nothing about windows, you'll need to know