Qt Contributors Summit 2022 - Program/Qt for Python Discussion: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Created page with "Category:QtCS2022 ==Session Summary== Discussion about future development in Qt for Python/Shiboken ==Session Owners== *Friedemann Kleint ==Notes== (Taken by XXX) =...")
 
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
==Notes==
==Notes==


(Taken by XXX)
(Taken by CristianMaureiraFredes)


===Title===
* Presentation of the Team
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
* List of improvements since last year
** PyPy support
** wheel split
** cross building
** wheel size reduced
** libraries split (libpysideqml, libpyside)
** many new QML decorators
** tools
*** pyside6-qmllint, pyside6-project
** Improved documentation


===Title===
* Binding generation details
* Shiboken (bindings generator)​
** Opaque containers were added: Python bindings for C++ containers​
** Made many types built-in: primitive C++ types as well as containers​
** Type SbkObjectType was removed (is now aliased to PyTypeObject​
** The Shiboken module can now be imported as shiboken6​
** Improved documentation of new functionalities, options, etc.​


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
* Future
** Qt Enums as Python Enums
** Improve embedded story
** WebAssembly research
** Deployment to android
** Continue improvement on Python ecosystem


=== Q&A ===
* Ogi Moore:
** https://bugreports.qt.io/browse/PYSIDE-1924
** Thanks for being open to new compatibilities in NumPy.
** FK: Np* methods is there, so the idea now is to use void ptr?
​** What I suggest is to use VoidPtr
** Regarding PyPy support: found some issue. Will open a bug report.


===Title===
* Samuel
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
** wheels for ARM?
** Soon! Qt6 is arriving in Debian Testing, so once that's done we could workaround creating wheels.
** Here is a preliminary set of wheels on Debian 12 (testing) arm64 https://qtinfo.dev/624_aarch64.tar.gz
** Maybe the transformation of code within Qt/C++ snippets to a snippet file in Qt/C++ could be a nice task for people wanting to contribute.
*** Then, if the snippet/file exist, we can transform it.

Latest revision as of 12:31, 7 June 2022


Session Summary

Discussion about future development in Qt for Python/Shiboken

Session Owners

  • Friedemann Kleint

Notes

(Taken by CristianMaureiraFredes)

  • Presentation of the Team
  • List of improvements since last year
    • PyPy support
    • wheel split
    • cross building
    • wheel size reduced
    • libraries split (libpysideqml, libpyside)
    • many new QML decorators
    • tools
      • pyside6-qmllint, pyside6-project
    • Improved documentation
  • Binding generation details
  • Shiboken (bindings generator)​
    • Opaque containers were added: Python bindings for C++ containers​
    • Made many types built-in: primitive C++ types as well as containers​
    • Type SbkObjectType was removed (is now aliased to PyTypeObject​
    • The Shiboken module can now be imported as shiboken6​
    • Improved documentation of new functionalities, options, etc.​
  • Future
    • Qt Enums as Python Enums
    • Improve embedded story
    • WebAssembly research
    • Deployment to android
    • Continue improvement on Python ecosystem

Q&A

​** What I suggest is to use VoidPtr

    • Regarding PyPy support: found some issue. Will open a bug report.
  • Samuel
    • wheels for ARM?
    • Soon! Qt6 is arriving in Debian Testing, so once that's done we could workaround creating wheels.
    • Here is a preliminary set of wheels on Debian 12 (testing) arm64 https://qtinfo.dev/624_aarch64.tar.gz
    • Maybe the transformation of code within Qt/C++ snippets to a snippet file in Qt/C++ could be a nice task for people wanting to contribute.
      • Then, if the snippet/file exist, we can transform it.