[PyQt] SIP tutorial/docs problems
piotr maliński
riklaunim at gmail.com
Sat Nov 1 20:00:40 GMT 2008
2008/11/1, Phil Thompson <phil at riverbankcomputing.com>:
> On Sat, 1 Nov 2008 19:50:58 +0100, "piotr maliński" <riklaunim at gmail.com>
> wrote:
>
> > I'm trying to learn SIP but the examples in documentation make problems.
> >
> > 4.2 A Simple C Example
> > On make it ends with:
> >
> > g++ -shared -Wl,--version-script=word.exp -o word.so sipwordcmodule.o
> > sipwordWord.o -lword
> > /usr/bin/ld: cannot find -lword
>
>
> The word library is just an example - it doesn't actually exist unless you
> write it yourself.
>
>
> > 4.3 A More Complex C++ Example
> > This on "sip -c . word.sip" ends with
> >
> > sip: Unable to find file "qt/qtmod.sip"
> >
> > Where /usr/share/sip/Qt/Qtmod.sip from PyQt 4.4.3 exists
>
>
> It's part of PyQt3. For PyQt4 use QtCore/QtCoremod.sip instead.
>
>
> Phil
>
QtCore/QtCoremod.sip also can't be found:
sip: Unable to find file "QtCore/QtCoremod.sip"
(PyQt4 runs without problems)
More information about the PyQt
mailing list