Qt for Python Development Notes: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
Line 8: Line 8:
     use source code.
     use source code.
   - The code isolation must be made explicit and complete, so that installers  
   - The code isolation must be made explicit and complete, so that installers  
     _don't recocnize_ that there is something.
     ''don't recognize'' that there is something.
     Right now this was done in the wrong direction.
     Right now this was done in the wrong direction.
   Not much code and time necessary, just fixind some bits.
   Not much code and time necessary, just fixing some bits.


==== 7. March 2019 ====
==== 7. March 2019 ====

Revision as of 10:09, 14 March 2019

2019

14. March 2019

- Fixed broken documentation formatting; added deprecation information
- The embedding patch is mostly working, but needs some refinement to be complete:
  - The .pyc generation contradicts the Limited API and must be changed to 
    use source code.
  - The code isolation must be made explicit and complete, so that installers 
    don't recognize that there is something.
    Right now this was done in the wrong direction.
  Not much code and time necessary, just fixing some bits.

7. March 2019

- Qt for Python 5.12.2 release
 - waiting for final patch before release (PYSIDE-942/PYSIDE-932)
- Setting up test envs for Python 3.7 & 3.5 (so far testing was always done on Python 3.6) -> work in progress
- QML tutorial under review (https://codereview.qt-project.org/#/c/254044/10)
- how to integrate deprecation infos from Qt to the Python side
- Python output to rcc PYSIDE-855
- PYSIDE-95 fixed
- Experimented with MicroPython
- Found the reason for PYSIDE-966: A memory leak was fixed by ctypes.

28. February 2019

- Discussion on adding more python testing environments to be certain 3.5+ versions are properly working.
- PYSIDE-953 fixed
- PYSIDE-934 almost done
- PYSIDE-931 almost done
- refcount bug fixes mathplotlib crashes:
  - PYSIDE-928
  - PYSIDE-937
  - PYSIDE-943
- WIP: Embedding to solve signature problems dependency of support directory since 5.12.1 . Will solve  
  - PYSIDE-942  missing support, PyInstaller  (was solved but involves PyInstaller change)
  - PYSIDE-932  missing support, cx_freese

21. February 2019

- research on how to do ad hoc releases of Pyside 2 for bug fixes like last weeks meta data change (and otherwise no further source change)
- Qt 5.12.2 about to be released -> should have a Qt for Python 5.12.2 release
- discussed installer related crash bug following 5.12.1 release PYSIDE-932 etc.
- tutorials works (based on recent Qt for Python youtube videos)
- prepared discussions with doc team meeting next week (on Python support)
- some more work on PYSIDE-795
- work to distinguish array types from pointer variables
- PYSIDE-946 under development
- PYSIDE-934 void* type handling
- PYSIDE-938 under review
- Current Creator 4.9 beta released today added Python project templates
- PEP 518 (project format for Python projects) -> needs Qt Creator support

14. February 2019

- 5.12.1 wheels had meta data issues and were redone with fixed meta data
- discussed improving the integration of Python example code into Qt for Python docs
- PYSIDE-921
- improved signature matching for custom types
- PYSIDE-816 fixed and merged
- PYSIDE-922 fixed
- PYSIDE-45 fixed
- looking at crashes when importing pandas & numpy (the order of imports matters when working around it)

7. February 2019

- Fixed 5.13 deprecation warnings (which unearthed that we had a dependency on QString::isNull() vs isEmpty() in shiboken)
- Fixed a large number of shiboken code generation warnings (revealing some issues)
- Provided s solution for one issue mentioned at PYSIDE-725 (apparently Sharon Woods from US is involved in some consulting?)
- Will start formal release tag marking in Jira (matching Qt style)
- Data visualization tutorial fixes
- Talking about further integration of existing examples into general docs
- PYSIDE-803 further investigation - no conclusion yet
- PYSIDE-921 fixed
- PYSIDE-816 investigated - fix seems at hand
- PYSIDE-924 fixed issue where Q_PROPERTY flags were not properly passed on to Qt
- restructured cmake files adding a master cmake file (simplifies opening of project in IDEs)
  - Now it's possible to open the whole project (PySide2 + Shiboken2) on QtCreator using the global CMakeList.txt
- worked on issues related to the setup.py and how to execute it.

31. January 2019

- Preparing 5.12.1 release
  - Packages are looking good, likely to be released at same time as Qt 5.12.1 release
- Submitted class bindings of Qt RemoteObjects for PYSIDE-862
- Added classes QWebEngineHistory, WebEngineHistoryItem with required fix PYSIDE-906
- Have calls to method annotated as deprecated issue a warning
- Fixed warnings, prepared Qt 5.13 bindings (based on current 5.13 API additions)
- Looked into PYSIDE-816, PYSIDE-803
- Data visualization tutorial added
- working on ways of substitution of C++ specific terms in docs against Python equivalents (e.g. nullptr and bool)

24. January 2019

- Release branch for 5.12.1 exist
  - There was some issues in CI with 5.12 branch earlier this week and it was pretty much blocked. All issues should be solved now.
- Prepared class bindings of Qt RemoteObject for PYSIDE-862 for review
- Some creativity to keep integrations going due to COIN issues
- Investigation of PYSIDE-803 is ongoing. The issue needs deep analysis to isolate the problem.

17. January 2019

- Fixed PYSIDE-908, further investigation into PYSIDE-803 (free threading)
- QfP 5.12.1 release being prepared
- PYSIDE-797 (uic change ready for review)
- PYSIDE-862 (Qt RemoteObject module support)
- PYSIDE-634 being fixed
- started to look at true cross compilation (PYSIDE-802)
- Improving Qt Creator project template support (QTCREATORBUG-21824)

10. January 2019

- Scope for Qt for Python 5.13 release
  -> relevant tasks marked with Fixversion 5.13 in bugreports.qt.io
  -> feature freeze for Qt for Python 5.13 (April 2019)
- looked into case of corrupted meta data of wheel
- supporting named arguments for signals
- some minimal support in Qt Creator to create a Qt for Python project
- bug hunting in 5.12.0 release
- working on Pyside-797
- further analysis of PYSIDE-803, working on an implementation plan

3. January 2019

- Completed: Complete The Signature Introspection (PYSIDE-510)
- After the release there has been a couple of new reported bugs that we are working on:
 - There was some outdated documentation issue regarding Slots()
 - A couple of issues with multiple inheritance like: PYSIDE-868
 - and with QPlainTextEdit PYSIDE-886
- Restarted investigation of PYSIDE-803

2018