This morning's change set doesn't run under PyQt6.11. The problem is with
the new Qt6 enumerations:
File "c:\Tom\git\leo-editor\leo\plugins\nested_splitter.py", line 363, in
NestedSplitter
Orientations = QtCore.Qt.Orientations if isQt6 else QtCore.Qt
AttributeError: type object 'Qt' has no attribute 'Orientations'
Under PyQt6.02, Leo runs but VR3 dies at load because of an as-yet
unimplemented QT widget:
File "c:\Tom\git\leo-editor\leo\plugins\viewrendered3.py", line 714, in
<module>
QSvgWidget = QtSvg.QSvgWidget
AttributeError: 'NoneType' object has no attribute 'QSvgWidget'
I will fix this last problem - it will make the SVG capability unavailable,
as well as the ability to render any node body starting with "<" as literal
html or xml.
Otherwise, the new clickable Find results worked as desired ... Yay!
Tested on:
Leo 6.4-devel, devel branch, build 3cf1cbc41b
2021-07-10 07:55:26 -0500
Python 3.9.5, PyQt version 5.15.2
Windows 10 AMD64 (build 10.0.19043)
On Saturday, July 10, 2021 at 5:31:58 AM UTC-4 Edward K. Ream wrote:
> Early this morning I merged the ekr-annotate branch into devel. See PR
> #1948 <https://github.com/leo-editor/leo-editor/pull/1948> for details.
>
> The ekr-annotate branch only added mypy type annotations and two new stub
> files. However, the branch changed/added 57 files, some in many places. I
> carefully reviewed all diffs, but this was a nerve-wracking business :-) I
> wanted to do the merge asap, so there will be plenty of time for testing
> before Leo 6.4 b1.
>
> This should be the last major change to Leo's code base before Leo 6.4
> final. All upcoming PR's will be much smaller.
>
> Edward
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/9eb10b1f-ffa0-4523-8f78-6ccf199544f0n%40googlegroups.com.