Re: example needed: sip + Qt

2005-01-28 Thread Phil Thompson
So have you created the library you are trying to wrap? The documentation is describing how to wrap a library and describes a fictional library as the basis for the example. Phil On Friday 28 January 2005 11:02 pm, Uwe Mayer wrote: > Friday 28 January 2005 23:39 pm Uwe Mayer wrote: > > Friday 2

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Saturday 29 January 2005 00:23 am Phil Thompson wrote: > So have you created the library you are trying to wrap? The documentation > is describing how to wrap a library and describes a fictional library as > the basis for the example. No, the extracts from before are from the code example of the

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Friday 28 January 2005 23:39 pm Uwe Mayer wrote: > Friday 28 January 2005 23:18 pm Uwe Mayer wrote: >> Traceback (most recent call last): >> File "", line 1, in ? >> ImportError: ./hello.so: undefined symbol: _ZTV5Hello >> >> $ c++filt _ZTV5Hello >> vtable for Hello >> >> The compilation did n

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Friday 28 January 2005 23:18 pm Uwe Mayer wrote: > Traceback (most recent call last): > File "", line 1, in ? > ImportError: ./hello.so: undefined symbol: _ZTV5Hello > > $ c++filt _ZTV5Hello > vtable for Hello > > The compilation did not give any warnings or error messages. Any ideas? $ ldd -d

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
On Friday 28 January 2005 14:24 pm, Craig Ringer wrote: > Out of curiosity, would this be for an extension module used in an > embedded Python interpreter, or for plain extension module for use with > a standalone interpreter? I am writing an application program using Python and PyQt: https://sava

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
On Friday 28 January 2005 14:47 pm, Phil Thompson wrote: > > The QLabel example in the SIP reference manual yields syntax errors for > > me. > > What syntax errors? If there is a documentation bug then I'll fix it. I'll come to that a little later, that happened in the simple c++ word example.

Re: example needed: sip + Qt

2005-01-28 Thread Phil Thompson
> Hi, > > can someone provide me with a running example for subclassing QWidget (or > something similarly simple) in C++ and then creating SIP (4.x+) bindings > for in for Python (2.3+)? > > I am looking for something I can start of with and work my way towards > more > complicated stuff (with Qt).

Re: example needed: sip + Qt

2005-01-28 Thread Craig Ringer
On Fri, 2005-01-28 at 13:30 +0100, Uwe Mayer wrote: > Hi, > > can someone provide me with a running example for subclassing QWidget (or > something similarly simple) in C++ and then creating SIP (4.x+) bindings > for in for Python (2.3+)? Out of curiosity, would this be for an extension module us

example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Hi, can someone provide me with a running example for subclassing QWidget (or something similarly simple) in C++ and then creating SIP (4.x+) bindings for in for Python (2.3+)? I am looking for something I can start of with and work my way towards more complicated stuff (with Qt). The QLabel ex