Repository navigation
Qt5 Support (V2) - DO NOT MERGE! - #171
corranwebster wants to merge 41 commits into
Conversation
|
@geggo Looks like there is an issue that I think the fix is conditionally import it into |
This provides forward compatibility for Qt4 to Qt5 for the move of QItemSelection between QtGui and QtCore.
|
Additional to-do: |
Conflicts: pyface/ui/qt4/progress_dialog.py
Current coverage is 46.59% (diff: 65.93%)@@ master #171 diff @@
==========================================
Files 283 286 +3
Lines 19065 19122 +57
Methods 0 0
Messages 0 0
Branches 3085 3097 +12
==========================================
+ Hits 8864 8909 +45
- Misses 9803 9808 +5
- Partials 398 405 +7
|
Conflicts: pyface/ui/qt4/tasks/split_editor_area_pane.py pyface/ui/qt4/util/tests/test_modal_dialog_tester.py
|
I have a different idea about Qt5 support in pyface. With this PR, a lot of code woul need to be changed significantly to support Qt5. I propose that we implement a new When using Qt5, When using Qt4, That way, applications can decide to incrementally move from qt4 to qt5 api, and components using the different parts could still run together |
|
@pankajp that suggestion has some merit. The advantages I see are:
The downsides:
If we do this, I can see the point of having a mirror However, my immediate concern is just getting the CI tests to pass reliably with a decent set of coverage. |
This is on the suspicion that the build was bad, rather than an actual issue with qt5 support.
|
Note, although these are passing, I'm not sure I trust that the results of the Python 3.5 + pyqt5 test right now. |
|
This has been superseded by #264. Keeping this around as we would like to move from Qt4 API to Qt5 API in the internal code, and this has the basics of making that move. |
|
Closing to avoid confusion - Qt5 support is in master. |
Keeping this around for potential future move from Qt4 API to Qt5 API, but needs work based on what we ended up doing for #264.
See enthought/traitsui#242
These will probably need to be worked on in tandem to get the tests working.