| 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 |
| special | or you can promote those to public in a subclass. |
| chakie | peppe: but why would anyone even get any qt3 devel packages installed? |
| chakie | 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 |
| chakie | KucukMubasir: is the lib really called "lgsoap++"? |
| special | public: using Subclass::hoverEnterEvent(); using Subclass::hoverLeaveEvent(); |
| special | 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 |
| KucukMubasir | "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 |
| chakie | KucukMubasir: the extra "l" is what i refer to |
| chakie | 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 |
| KucukMubasir | 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? |
| chakie | have you built it? |
| KucukMubasir | It doesn't exist |
| KucukMubasir | no |
| chakie | doh |
| KucukMubasir | I haven't |
| chakie | so build it or include it |
| chakie | as per the docs you pasted yourself |
| chakie | 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 |
| KucukMubasir | software to run in a basic configuration. When compression and SSL encryption |
| KucukMubasir | are required the Zlib and OpenSSL libraries must be installed. |
| KucukMubasir | To build the gSOAP 'soapcpp2' compiler, you must have Bison and Flex installed |
| KucukMubasir | or the older Yacc and Lex equivalents. Note that licensing differs for Flex |
| KucukMubasir | versus Lex, and Bison versus Yacc." |
| KucukMubasir | :S |
| KucukMubasir | sorry for that unpleasant paste |
| chakie | and? |
| chakie | "Alternatively, you can compile and link the engine's source code stdsoap2.c (or stdsoap2.cpp for C++) directly with your code" |
| chakie | 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 |
| chakie | if you added it to SOURCES it should be enough, as per the docs you gave |
|
|
| chakie | 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 |
| KucukMubasir | where? |
| chakie | then you're screwed |
| chakie | 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 |
| chakie | where are those functions defined? |
| chakie | what lib? |
| chakie | add that/them |
| KucukMubasir | chakie, they are defined there. |
| KucukMubasir | just as the constructore TimeServerImplPortBindingProxy |
| KucukMubasir | 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()' |
| KucukMubasir | the compiler* |
| chakie | your linker needs to find the stuff |
| KucukMubasir | hmm |
| KucukMubasir | that constructor is defined there |
| chakie | why not ask the gsoap developers? |
| chakie | 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? |
| chakie | it needs some functions like: |
| chakie | C:\Users\Ozgur\Documents\Qt\Console/gsoap/stdsoap2.cpp:3223: undefined reference to `WSAStartup@8' |
| chakie | where are those defined? |
| chakie | i know nothing about windows, you'll need to know |
| --- Sun May 9 2010 |
Popular searches: