[neon/snap-packaging/kf6-core-sdk/work.core24] /: add qml import path to build env

Scarlett Moore null at kde.org
Mon Jun 22 20:15:55 BST 2026


Git commit fef5f104c8196d820e4103127ce25dd31dbdffd5 by Scarlett Moore.
Committed on 22/06/2026 at 19:15.
Pushed by scarlettmoore into branch 'work.core24'.

add qml import path to build env

M  +1    -0    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf6-core-sdk/-/commit/fef5f104c8196d820e4103127ce25dd31dbdffd5

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 85b329d..1598d44 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -46,6 +46,7 @@ parts:
       - XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kde-qt6-core24-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
       - XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kde-qt6-core24-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
       - LD_LIBRARY_PATH: "/snap/kde-qt6-core24-sdk/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:/snap/kde-qt6-core24-sdk/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/libproxy:/snap/kde-qt6-core24-sdk/current/usr/lib:$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/lib/:$CRAFT_STAGE/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
+      - QML_IMPORT_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/qml:/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml"
 
   glib:
     after: [ meson-deps ]


More information about the Neon-commits mailing list