PyQt 5.13.2 issues with sip 4.19.23
Kálmán Viktor <[email protected]> Sat, 20 Jun 2020 00:23:26 +0200
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <CA+sJfQx43n-Ev8uf7Uy2rCFWBHBtTfA9MPF7HupXq6uPS9X89Q@mail.gmail.com> |
--00000000000031c5e605a8775871
Content-Type: text/plain; charset="UTF-8"
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] =
*reinterpret_cast< ::QSGGeometry *>(sipSrc);
^
/home/kviktor/Qt/5.13.2/android_arm64_v8a/include/QtQuick/qsggeometry.h:207: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 = 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
--00000000000031c5e605a8775871
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Got the error below while trying to build android sysroot.=
<div><br></div><div>(I also tried the current dev version (PyQt5-5.15.1.dev=
2006161728) with that SIP and sysroot builds fine however my application cr=
ashes on Android for some reason (couldn't find anything=C2=A0useful in=
adb logcat), with 5.13.2 and 4.19.22 the same code builds fine and works w=
ithout issues on Android)</div><div><br><div><br></div><div>sysroot-android=
-64/build/PyQt5-5.13.2/QtQuick/sipQtQuickpart1.cpp:2920:59: error: object o=
f type 'QSGGeometry' cannot be assigned because its copy assignment=
operator is implicitly deleted<br>=C2=A0 =C2=A0 reinterpret_cast< ::QSG=
Geometry *>(sipDst)[sipDstIdx] =3D *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 ^=
<br>/home/kviktor/Qt/5.13.2/android_arm64_v8a/include/QtQuick/qsggeometry.h=
:207:25: note: copy assignment operator of 'QSGGeometry' is implici=
tly deleted because field 'm_attributes' is of reference type '=
const QSGGeometry::AttributeSet &'<br>=C2=A0 =C2=A0 const Attribute=
Set &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 ^<br>sysroot-android-64/build/PyQt5-5.13=
.2/QtQuick/sipQtQuickpart1.cpp:9128:30: warning: 'sendEvent' is dep=
recated [-Wdeprecated-declarations]<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 sipRes =3D sipCpp->sendEvent(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: n=
ote: 'sendEvent' has been explicitly marked deprecated here<br>=C2=
=A0 =C2=A0 QT_DEPRECATED bool sendEvent(QQuickItem *, QEvent *);<br>=C2=A0 =
=C2=A0 ^<br>android_arm64_v8a/include/QtCore/qglobal.h:292:25: note: expand=
ed from macro 'QT_DEPRECATED'<br># =C2=A0define QT_DEPRECATED Q_DEC=
L_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 ^<br>5.13.2/android_arm64_v8a/include/QtCore/qcomp=
ilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED=
9;<br># =C2=A0define 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 ^<br>1 warning and 1 error generated.<br>make[1]: *** [Makefile:1181=
: sipQtQuickpart1.o] Error 1<br>make[1]: Leaving directory 'sysroot-and=
roid-64/build/PyQt5-5.13.2/QtQuick'<br>make: *** [Makefile:447: sub-QtQ=
uick-make_first-ordered] Error 2<br>pyqtdeploy-sysroot: Execution failed: r=
eturned exit code 2<br></div></div></div>
--00000000000031c5e605a8775871--