[Interest] qmlRegisterType in python

Jérôme Godbout godboutj at amotus.ca
Tue Feb 4 16:04:28 CET 2020


Hi,
I was developing a small Python application for a client and I did hit a wall with the qmlRegisterType variant methods. Python PySide2 is missing any qmlRegisterSingletonType and qmlRegisterUncreatableType and the like (PyQt was exposing those). I did find the related issue:
https://bugreports.qt.io/browse/PYSIDE-574

it say fix in 5.14 but it's not, status is reported. I'm a bit confused about the real state of it or it's the trunk of 5.14 that got the fix?
https://codereview.qt-project.org/c/pyside/pyside-setup/+/249369


I also found that limitation to be really scary for any serious project planning to use Qt Python:
https://bugreports.qt.io/browse/PYSIDE-811



[36E56279]
une compagnie  [cid:image014.jpg at 01D5DB42.7C10FBF0]
RAPPROCHEZ LA DISTANCE
Jérôme Godbout
Développeur Logiciel Sénior /
Senior Software Developer
p: +1 (418) 800-1073 ext.:109
amotus.ca<http://www.amotus-solutions.com/>
statum-iot.com<http://statum-iot.com/>
[cid:image015.png at 01D5DB42.7C10FBF0]<https://www.facebook.com/LesSolutionsAmotus/> [cid:image016.png at 01D5DB42.7C10FBF0] <https://www.linkedin.com/company/amotus-solutions/>  [cid:image017.png at 01D5DB42.7C10FBF0] <https://twitter.com/AmotusSolutions>  [cid:image018.jpg at 01D5DB42.7C10FBF0] <https://www.youtube.com/channel/UCoYpQgsmj1iJZyDjTQ3x8Ig>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/ad3f198f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image013.jpg
Type: image/jpeg
Size: 6751 bytes
Desc: image013.jpg
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/ad3f198f/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image014.jpg
Type: image/jpeg
Size: 1016 bytes
Desc: image014.jpg
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/ad3f198f/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image015.png
Type: image/png
Size: 483 bytes
Desc: image015.png
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/ad3f198f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image016.png
Type: image/png
Size: 506 bytes
Desc: image016.png
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/ad3f198f/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image017.png
Type: image/png
Size: 500 bytes
Desc: image017.png
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/ad3f198f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image018.jpg
Type: image/jpeg
Size: 713 bytes
Desc: image018.jpg
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/ad3f198f/attachment-0002.jpg>


More information about the Interest mailing list