[PyQt] PyQt5 Sip Building
Alan Ezust
alan.ezust at gmail.com
Wed Jul 23 18:23:52 BST 2014
It looks like moc didn't process QWinWidget and generate a QMetaObject for
that class.
I never saw SIP do this, but when I am building a regular C++ app, that
usually means
that I just added a Q_OBJECT to a class, ran "make" but forgot to re-run
qmake before that.
re-running qmake causes the problem to go away.
On Tue, Jul 22, 2014 at 1:39 AM, Kermit <stef.kermit at gmail.com> wrote:
> Hi,
>
> i've a curious link error when i try to build a new module
>
> Creating library
> D:\Qt\Qt5\qtwinmigrate\sip\pywrapper\x64\Release\pywrapper.lib and object
> D:\Qt\Qt5\qtwinmigrate\sip\pywrapper\x64\Release\pywrapper.exp
> 1>sipQtWinMigratecmodule.obj : error LNK2001: unresolved external symbol
> "public: static struct QMetaObject const QWinWidget::staticMetaObject"
> (?staticMetaObject at QWinWidget@@2UQMetaObject@@B)
> 1>sipQtWinMigrateQWinHost.obj : error LNK2001: unresolved external symbol
> "public: static struct QMetaObject const QWinHost::staticMetaObject"
> (?staticMetaObject at QWinHost@@2UQMetaObject@@B)
>
>
> i never had this before with same module, and i have only this link error
>
> config :
> VS2010
> qt-5.3.1-x64
> PyQt-5.3.1
> sip-4.16.2
>
> Kermit
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140723/8a83ce9b/attachment.html>
More information about the PyQt
mailing list