[vlc-commits] snap: set QML import path for the Qt UI

Konstantin Pavlov git at videolan.org
Mon Apr 15 14:11:29 CEST 2019


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Mon Apr 15 15:02:52 2019 +0300| [bd99a8ba1ea6e1820326d16c59c0c6e980ad80d0] | committer: Konstantin Pavlov

snap: set QML import path for the Qt UI

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bd99a8ba1ea6e1820326d16c59c0c6e980ad80d0
---

 extras/package/snap/vlc-snap-wrapper.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/extras/package/snap/vlc-snap-wrapper.sh b/extras/package/snap/vlc-snap-wrapper.sh
index 161981283e..f21e3755ad 100755
--- a/extras/package/snap/vlc-snap-wrapper.sh
+++ b/extras/package/snap/vlc-snap-wrapper.sh
@@ -31,4 +31,7 @@ export KDE_FORK_SLAVES=1
 ## Neon PATCH! make KIO look for slaves in a dynamic location depending on $SNAP
 export KF5_LIBEXEC_DIR=$SNAP/usr/lib/$ARCH/libexec/kf5
 
+# set QML2 import path for Qt UI
+export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:$SNAP/usr/lib/x86_64-linux-gnu/qt5/qml/"
+
 exec $SNAP/usr/bin/vlc --config=$SNAP_USER_COMMON/vlcrc "$@"



More information about the vlc-commits mailing list