Wayland is a more modern, very incompatible replacement for X11, the venerable display server used by Linux systems. It uses a different communication protocol. Little by little, Wayland is becoming adopted by various distros, not always without problems. Virtualbox, for example, has problems with guest VMs that use Wayland. To confuse matter more, I've seen libraries whose name sounds like they convert X11 commands to Wayland commands, presumably so that non-Wayland software can run using Wayland to actually create the display.
Since Ubuntu 22.04 (I don't have 24.04 yet) uses X11, I would have thought that Qt wouldn't need any Wayland libraries for it. But maybe Qt thinks it shouldn't load without it, who knows? On Tuesday, October 15, 2024 at 4:48:06 PM UTC-4 Edward K. Ream wrote: > On Tue, Oct 15, 2024 at 3:27 PM lewis <lewi...@fastmail.com.au> wrote: > > Does Leo run and stay open? >> > > Yes, but mouse clicks do not work. In fact, the only way to close Leo is > to shut wsl down! > > Try this script: >> >> >> >> >> >> >> >> >> *# Test import PyQt6.Qtxxxx from PyQt6.QtCore import QUrlfrom >> PyQt6.QtWidgets import QApplicationfrom PyQt6.QtWidgets import >> QMainWindowfrom PyQt6.QtWebEngineWidgets import QWebEngineViewimport sys* >> > > Passes. > > >> >> >> >> *# PyQt6 version checkimport PyQt6from PyQt6.QtCore import >> qVersionprint(f" ==== PyQt6 version ", qVersion())* >> > > Prints "==== PyQt6 version 6.7.3" > > I used it to ensure I could run VR3 and Freewin which required >> QWebEngineView. >> > > As I said a few minutes ago, I think it's time to abandon trying to get > Leo working on my system. > > I suspect the problems relate to QtWayland <https://wiki.qt.io/QtWayland>, > a client-server architecture that presumably mediates between Windows and > wsl. Unlike the real Ubuntu, something like QtWayland surely must be > required. > > To repeat, I'll use the real Ubuntu if I want to play with executing sage > scripts from Leo. > > 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/846dea1b-8f84-4cbe-87e2-421a99b17cc4n%40googlegroups.com.