Re: PyQt 5.13.2 issues with sip 4.19.23
Kálmán Viktor <[email protected]> Sun, 21 Jun 2020 11:56:38 +0200
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <CA+sJfQxr2bryHg6uLzHJ-=qQ-=BnUuuBRcfZL_1f+kUjH3cK6A@mail.gmail.com> |
--00000000000018ab5905a89525cc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I see. By the way the issue with 5.15.1 was that it was missing pkgutil, I assume it was added to 5.14/5.15 in PyQt because 5.13 was working without it, after adding it in the .pdy file things seem to work. Phil Thompson <[email protected]> ezt =C3=ADrta (id=C5=91pont: 20= 20. j=C3=BAn. 20., Szo, 10:48): > On 19/06/2020 23:23, K=C3=A1lm=C3=A1n Viktor wrote: > > Got the error below while trying to build android sysroot. > > > > (I also tried the current dev version (PyQt5-5.15.1.dev2006161728) with > > that SIP and sysroot builds fine however my application crashes on > > Android > > for some reason (couldn't find anything useful in adb logcat), with > > 5.13.2 > > and 4.19.22 the same code builds fine and works without issues on > > Android) > > > > > > > sysroot-android-64/build/PyQt5-5.13.2/QtQuick/sipQtQuickpart1.cpp:2920:59= : > > error: object of type 'QSGGeometry' cannot be assigned because its copy > > assignment operator is implicitly deleted > > reinterpret_cast< ::QSGGeometry *>(sipDst)[sipDstIdx] =3D > > *reinterpret_cast< ::QSGGeometry *>(sipSrc); > > ^ > > > /home/kviktor/Qt/5.13.2/android_arm64_v8a/include/QtQuick/qsggeometry.h:2= 07:25: > > note: copy assignment operator of 'QSGGeometry' is implicitly deleted > > because field 'm_attributes' is of reference type 'const > > QSGGeometry::AttributeSet &' > > const AttributeSet &m_attributes; > > ^ > > > sysroot-android-64/build/PyQt5-5.13.2/QtQuick/sipQtQuickpart1.cpp:9128:30= : > > warning: 'sendEvent' is deprecated [-Wdeprecated-declarations] > > sipRes =3D sipCpp->sendEvent(a0,a1); > > ^ > > 5.13.2/android_arm64_v8a/include/QtQuick/qquickwindow.h:124:5: note: > > 'sendEvent' has been explicitly marked deprecated here > > QT_DEPRECATED bool sendEvent(QQuickItem *, QEvent *); > > ^ > > android_arm64_v8a/include/QtCore/qglobal.h:292:25: note: expanded from > > macro 'QT_DEPRECATED' > > # define QT_DEPRECATED Q_DECL_DEPRECATED > > ^ > > 5.13.2/android_arm64_v8a/include/QtCore/qcompilerdetection.h:233:45: > > note: > > expanded from macro 'Q_DECL_DEPRECATED' > > # define Q_DECL_DEPRECATED __attribute__ ((__deprecated__)) > > ^ > > 1 warning and 1 error generated. > > make[1]: *** [Makefile:1181: sipQtQuickpart1.o] Error 1 > > make[1]: Leaving directory > > 'sysroot-android-64/build/PyQt5-5.13.2/QtQuick' > > make: *** [Makefile:447: sub-QtQuick-make_first-ordered] Error 2 > > pyqtdeploy-sysroot: Execution failed: returned exit code 2 > > Those are bugs in earlier versions of PyQt exposed by later versions of > SIP. Later versions are not yet supported by pyqtdeploy. > > Phil > --00000000000018ab5905a89525cc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I see. By the way the issue with 5.15.1 was that it was mi= ssing pkgutil, I assume it was added to 5.14/5.15 in PyQt because 5.13 was = working without it, after adding it in the .pdy file things seem to work.</= div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Ph= il Thompson <<a href=3D"mailto:[email protected]">phil@riverba= nkcomputing.com</a>> ezt =C3=ADrta (id=C5=91pont: 2020. j=C3=BAn. 20., S= zo, 10:48):<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1= 9/06/2020 23:23, K=C3=A1lm=C3=A1n Viktor wrote:<br> > Got the error below while trying to build android sysroot.<br> > <br> > (I also tried the current dev version (PyQt5-5.15.1.dev2006161728) wit= h<br> > that SIP and sysroot builds fine however my application crashes on <br= > > Android<br> > for some reason (couldn't find anything useful in adb logcat), wit= h <br> > 5.13.2<br> > and 4.19.22 the same code builds fine and works without issues on <br> > Android)<br> > <br> > <br> > sysroot-android-64/build/PyQt5-5.13.2/QtQuick/sipQtQuickpart1.cpp:2920= :59:<br> > error: object of type 'QSGGeometry' cannot be assigned because= its copy<br> > assignment operator is implicitly deleted<br> >=C2=A0 =C2=A0 =C2=A0reinterpret_cast< ::QSGGeometry *>(sipDst)[si= pDstIdx] =3D<br> > *reinterpret_cast< ::QSGGeometry *>(sipSrc);<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br> > /home/kviktor/Qt/5.13.2/android_arm64_v8a/include/QtQuick/qsggeometry.= h:207:25:<br> > note: copy assignment operator of 'QSGGeometry' is implicitly = deleted<br> > because field 'm_attributes' is of reference type 'const<b= r> > QSGGeometry::AttributeSet &'<br> >=C2=A0 =C2=A0 =C2=A0const AttributeSet &m_attributes;<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0^<br> > sysroot-android-64/build/PyQt5-5.13.2/QtQuick/sipQtQuickpart1.cpp:9128= :30:<br> > warning: 'sendEvent' is deprecated [-Wdeprecated-declarations]= <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sipRes =3D sipCpp->s= endEvent(a0,a1);<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br> > 5.13.2/android_arm64_v8a/include/QtQuick/qquickwindow.h:124:5: note:<b= r> > 'sendEvent' has been explicitly marked deprecated here<br> >=C2=A0 =C2=A0 =C2=A0QT_DEPRECATED bool sendEvent(QQuickItem *, QEvent *= );<br> >=C2=A0 =C2=A0 =C2=A0^<br> > android_arm64_v8a/include/QtCore/qglobal.h:292:25: note: expanded from= <br> > macro 'QT_DEPRECATED'<br> > #=C2=A0 define QT_DEPRECATED Q_DECL_DEPRECATED<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0^<br> > 5.13.2/android_arm64_v8a/include/QtCore/qcompilerdetection.h:233:45: <= br> > note:<br> > expanded from macro 'Q_DECL_DEPRECATED'<br> > #=C2=A0 define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0^<br> > 1 warning and 1 error generated.<br> > make[1]: *** [Makefile:1181: sipQtQuickpart1.o] Error 1<br> > make[1]: Leaving directory <br> > 'sysroot-android-64/build/PyQt5-5.13.2/QtQuick'<br> > make: *** [Makefile:447: sub-QtQuick-make_first-ordered] Error 2<br> > pyqtdeploy-sysroot: Execution failed: returned exit code 2<br> <br> Those are bugs in earlier versions of PyQt exposed by later versions of <br= > SIP. Later versions are not yet supported by pyqtdeploy.<br> <br> Phil<br> </blockquote></div> --00000000000018ab5905a89525cc--