<div dir="ltr"><div><div>Hello,<br><br></div>I've been trying to run "python configure.py" with following error:<br><br>sip: /job/rnd/dev/people/dmathur/work/sipTest/labelTest/sip/PyMyLabel.sip:1: syntax error<br><br></div>sip command (from configure.py):<br>/usr/bin/sip -x VendorID -t WS_X11 -t Qt_5_6_0 -x Py_v3  -I /job/rnd/dev/people/dmathur/work/sipTest/labelTest/sip -I /usr/share/sip/PyQt5 -I /usr/include/python2.6 -I /job/rnd/dev/people/dmathur/work/sipTest/labelTest/src -c /job/rnd/dev/people/dmathur/work/sipTest/labelTest/modules -b /job/rnd/dev/people/dmathur/work/sipTest/labelTest/modules/PyMyLabel.sbf -w /job/rnd/dev/people/dmathur/work/sipTest/labelTest/sip/PyMyLabel.sip<br><br><div><br>PyMyLabel.sip:----<br>%Module(name=PyMyLabel, call_super_init=True, keyword_arguments="All")<br>%DefaultMetatype PyQt5.QtCore.pyqtWrapperType<br>%DefaultSupertype sip.simplewrapper<br>%Include MyLabel.sip<br><br><br>MyLabel.sip:----<br>%Module PyMyLabel 0<br><br>%Import QtGui/QtGuimod.sip<br>%Import QtWidgets/QtWidgetsmod.sip<br><br>%If (Qt_5_0_0 -)<br><br>class MyLabel : public QLabel {<br><br>%TypeHeaderCode<br>#include "mylabel.h"<br>%End<br><br>public:<br>    MyLabel(QWidget *parent /TransferThis/ = 0);<br><br>private:<br>    MyLabel(const MyLabel&);<br>};<br><br>%End<br><br><br></div><div>I'm not sure what's wrong here.. anyone with similar issue/solution..<br><br></div><div>many thanks,<br></div><div>D<br></div></div>