[PyKDE] python extension using pyqt: unresolved external symbol

Phil Thompson phil at riverbankcomputing.co.uk
Tue Feb 15 08:47:34 GMT 2005

> Hi all,
> I'm trying to create a python-qt extension, but I keep on receiving
> these types of errors: "error LNK2019: unresolved external symbol"
> I'm actually still checking out how to create a pyqt based module.  I
> wrote a class which derives the QPushButton class.  I've written the
> appropriate .sip interface for SIP 3.x to consume. I'm using MSVS.NET to
> create my .dll and subsequent .lib import file.  And for the Makefile,
> I've even used the pyqtconfig module as described in the documentation.
> However, the M$ linker still complains =\
> I've attached a word document of the 6 messages... I'd appreciate any
> help!

These are seem to be related to moc generated functions that should be in
your C++ library.


More information about the PyQt mailing list