Merging ekr-qt6-2 into my own qt6 branch, Leo does not start:
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'
Obviously it's an enumeration thing to be fixed, but how are you able to
run?
On Tuesday, July 13, 2021 at 1:14:46 PM UTC-4 [email protected] wrote:
> How did you get PyQt6.2? The latest I got just now via pip is
> *PyQt6-Qt6-6.1.2*.
>
> On Tuesday, July 13, 2021 at 1:11:56 PM UTC-4 [email protected] wrote:
>
>> OK, I'll get on it.
>>
>> On Tuesday, July 13, 2021 at 12:36:17 PM UTC-4 Edward K. Ream wrote:
>>
>>> I have spent two long days dealing with the name changes foisted upon us
>>> by the Qt devs. More work and testing is coming. If there are major
>>> problems I may just punt on Qt6 entirely until after Leo 6.4 final.
>>>
>>> PR #2054 <https://github.com/leo-editor/leo-editor/pull/2054> shows the
>>> scale of the work involved. The ekr-qt6-2 branch contains the work. I
>>> expect to spend at least another day testing.
>>>
>>> Thomas, I made several changes to the vr3 plugin. I had no real choice
>>> but to follow the patterns now used throughout Leo to make sense of the Qt
>>> naming horrors.
>>>
>>> vr3 doesn't load with qt6 in the ekr-qt6-2 branch. Perhaps you are aware
>>> of this.
>>>
>>> In embed_widget I changed explicit tests on isQt6 to a single line:
>>>
>>> w.setWordWrapMode(WrapMode.WrapAtWordBoundaryOrAnywhere)
>>>
>>> This *might *work, but I haven't tested it. Please let me know if there
>>> are problems.
>>>
>>> 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/a67ea156-e2e4-419d-95bc-4f26e9111b19n%40googlegroups.com.