On Thursday, February 20th, 2025 at 14:15, Andrey Grozin <gro...@gentoo.org> 
wrote:

> Hello *,
> 
> I have a trivial question. I'm now working on the asymptote ebuild.
> asymptote has an optional gui - a separate python program xasy using pyqt5
> and interacting with asy. From time immemorable, the USE flag controlling
> it was called X. Should I rename it to gui?
> 
> Can a pyqt5 program (like xasy) run on wayland? I never used wayland, and
> have no idea (though I heard that qt programs can run on wayland). If xasy
> can run on wayland, then the USE flag name X is misleading, and should be
> replaced by gui.
> 
> Opinions, please.
> 
> Andrey

Hi Andrey,

PyQt are Python bindings for the Qt GUI toolkit.
That means that the question you're asking is "Should a QT app
have USE=gui or USE=X for enabling the graphical user interface?".
In that case I think the answer is obvious: it should be USE=gui.

> I heard that qt programs can run on wayland

Plasma 6 runs on wayland by default and it's apps are using Qt
so yeah, Qt can run on wayland.

Small FYI: If you are within a Wayland session, to check
if an app runs on wayland you can call xprop from the command line 
an click on the window. If nothing happens, it's Wayland.
If output gets printed to the terminal, it's X.

Regards
Filip

Reply via email to