Qt: Difference between revisions

imported>Samueldr
imported>Samueldr
Line 39: Line 39:


==== qt5 ====
==== qt5 ====
{{warning|This recommendation is deprecated, see {{issue|65399}}. Failing packages should be updated to use <code>wrapQtAppsHook</code>.}}
Qt5 seems (?) to look for plugins in the <code>PATH</code>. This will fail from a systemd user unit for example, because their path is nearly empty by default. As an example, here is a workaround to have <code>usbguard-applet</code> launched from a systemd user unit:
Qt5 seems (?) to look for plugins in the <code>PATH</code>. This will fail from a systemd user unit for example, because their path is nearly empty by default. As an example, here is a workaround to have <code>usbguard-applet</code> launched from a systemd user unit:
{{File|/etc/nixos/configuration.nix|nix|<nowiki>
{{File|/etc/nixos/configuration.nix|nix|<nowiki>