[neon/snap-packaging/snapcraft-desktop-integration] kde-neon-6: remove non-existant qml path, add usr/lib to library path as some qt

Scarlett Moore null at kde.org
Sat Jul 20 09:05:05 BST 2024


Git commit 66afa940328b26c7ee679c1c00e0eff3fe520442 by Scarlett Moore.
Committed on 20/07/2024 at 08:03.
Pushed by scarlettmoore into branch 'master'.

remove non-existant qml path, add usr/lib to library path as some qt
libs are in there.

M  +1    -2    kde-neon-6/launcher-specific

https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/66afa940328b26c7ee679c1c00e0eff3fe520442

diff --git a/kde-neon-6/launcher-specific b/kde-neon-6/launcher-specific
index 736c290..baaf8e3 100644
--- a/kde-neon-6/launcher-specific
+++ b/kde-neon-6/launcher-specific
@@ -8,6 +8,7 @@ append_dir PATH "$SNAP/usr/games"
 append_dir PATH "$SNAP_DESKTOP_RUNTIME/usr/games"
 
 # Qt Libs
+prepend_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib"
 prepend_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH"
 
 # Add QT_PLUGIN_PATH (Qt Modules).
@@ -17,9 +18,7 @@ append_dir QT_PLUGIN_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/qt6/plugins"
 append_dir QT_PLUGIN_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/"
 # And QML2_IMPORT_PATH (Qt Modules).
 append_dir QML2_IMPORT_PATH "$SNAP/usr/lib/$ARCH/qt6/qml"
-append_dir QML2_IMPORT_PATH "$SNAP/lib/$ARCH"
 append_dir QML2_IMPORT_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/qt6/qml"
-append_dir QML2_IMPORT_PATH "$SNAP_DESKTOP_RUNTIME/lib/$ARCH"
 
 # Fix locating the QtWebEngineProcess executable
 export QTWEBENGINEPROCESS_PATH="$SNAP_DESKTOP_RUNTIME/usr/lib/qt6/libexec/QtWebEngineProcess"


More information about the Neon-commits mailing list