|
|
Subscribe / Log in / New account

You betray your ignorance of wayland

You betray your ignorance of wayland

Posted May 28, 2012 17:40 UTC (Mon) by Jonno (subscriber, #49613)
In reply to: You betray your ignorance of wayland by butlerm
Parent article: Announcing printerd

I don't know about GTK+, but Qt 4.8 and 5.0 autodetects backend at runtime, which can be overridden by a command line argument to the application (i.e. if you have both Wayland and X11 running).

NB: For Qt 4.8 you need to explicitly configure Qt with -qpa to get the new modular backends, the default is X11 only. In Qt 5.0 the hard-coded X11 port will be gone and replaced with a modular xcb backend.


to post comments

You betray your ignorance of wayland

Posted May 29, 2012 7:51 UTC (Tue) by butlerm (subscriber, #13312) [Link] (2 responses)

Thanks, that is excellent news. Perhaps a little more work than running everything through a generalized version of the XCB API, but accomplishing the same thing nonetheless, and probably more flexible too.

You betray your ignorance of wayland

Posted May 29, 2012 21:53 UTC (Tue) by nix (subscriber, #2304) [Link] (1 responses)

Yeah. If Gtk does that too, most objections to Wayland basically fall away: nobody's likely to implement Wayland-only programs (just as people don't write against raw Xlib these days), and if the toolkits can switch based on an env var or something, the user can choose with whatever granularity is desired between insane blazing performance and remotability (which means I can turn remotability on and forget about Wayland completely).

You betray your ignorance of wayland

Posted May 30, 2012 5:47 UTC (Wed) by aquasync (guest, #26654) [Link]

I would expect so, using the GDK_BACKEND environment variable (see the gtk broadway demos).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds