[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] PyQt5 Sip Building
From:       Alan Ezust <alan.ezust () gmail ! com>
Date:       2014-07-23 17:23:52
Message-ID: CALy5K9rpUrYpGVjrO8zJNk2b4bV3=EmqZ=TfkWAXZgbhYrB-Pg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@QWinWidget@@2UQMetaObject@@B)
> 1>sipQtWinMigrateQWinHost.obj : error LNK2001: unresolved external symbol
> "public: static struct QMetaObject const QWinHost::staticMetaObject"
> (?staticMetaObject@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@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>It looks like moc didn&#39;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 &quot;make&quot; \
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">&lt;<a href="mailto:stef.kermit@gmail.com" \
target="_blank">stef.kermit@gmail.com</a>&gt;</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&#39;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&gt;sipQtWinMigratecmodule.obj : error LNK2001: unresolved external symbol &quot;public: \
static struct QMetaObject const QWinWidget::staticMetaObject&quot; \
(?staticMetaObject@QWinWidget@@2UQMetaObject@@B)</div><div>

1&gt;sipQtWinMigrateQWinHost.obj : error LNK2001: unresolved external symbol &quot;public: \
static struct QMetaObject const QWinHost::staticMetaObject&quot; \
(?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>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic