GNU bug report logs -
#43446
Qt Apps cant make use of qtwayland due to QT_PLUGIN_PATH '= wrapping
Previous Next
Reported by: Brendan Tildesley <mail <at> brendan.scot>
Date: Wed, 16 Sep 2020 11:18:01 UTC
Severity: normal
Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Brendan Tildesley <mail <at> brendan.scot> writes:
> qt-build-system wraps variables such as QT_PLUGIN_PATH with '=
> instead of prefix, so when qtwayland is installed in a profile or
> included in the environment, the application fails to see it. Programs
> run with export QT_QPA_PLATFORM=wayland-egl will fail to launch.
>
> We could:
>
> 1. Use 'prefix so that the parent environment's variables are appended
> and users have to manually install qtwayland them selves.
> 2. Include qtwayland as an input to every qt package somehow. Can the
> build system do that? Considering that Wayland seems to be the
> future, I feel that Qt GUI applications should support it by
> default. I mean, wayland is in the closure of qtbase anyway.
> 3. Both? Why is '= used anyway?
I can’t say why the Qt build system does this, but in other cases we
know that 'prefix causes problems because the application may end up
loading incompatible binaries leading to a crash. That’s especially the
case on foreign distros, e.g. when the Guix-installed graphical
application loads a plugin from the system’s XDG_* directories.
--
Ricardo
This bug report was last modified 4 years and 168 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.