<div dir="ltr"><div><div>It looks like moc didn't process QWinWidget and generate a QMetaObject for that class.<br></div>I never saw SIP do this, but when I am building a regular C++ app, that usually means<br>that I just added a Q_OBJECT to a class, ran "make" but forgot to re-run qmake before that.<br>
</div>re-running qmake causes the problem to go away.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 1:39 AM, Kermit <span dir="ltr"><<a href="mailto:stef.kermit@gmail.com" target="_blank">stef.kermit@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>i've a curious link error when i try to build a new module</div><div><br></div>
<div><div>Creating library D:\Qt\Qt5\qtwinmigrate\sip\pywrapper\x64\Release\pywrapper.lib and object D:\Qt\Qt5\qtwinmigrate\sip\pywrapper\x64\Release\pywrapper.exp</div>
<div>1>sipQtWinMigratecmodule.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QWinWidget::staticMetaObject" (?staticMetaObject@QWinWidget@@2UQMetaObject@@B)</div><div>
1>sipQtWinMigrateQWinHost.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QWinHost::staticMetaObject" (?staticMetaObject@QWinHost@@2UQMetaObject@@B)</div></div><div><br>
</div><div><br></div><div>i never had this before with same module, and i have only this link error</div><div><br></div><div>config :</div><div>VS2010</div><div>qt-5.3.1-x64<br></div><div>PyQt-5.3.1<br></div><div>sip-4.16.2<span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Kermit</div></font></span></div>
<br>_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>