[neon/snap-packaging/kf6-core-sdk/work.core24] /: add missing env from kcmutils

Scarlett Moore null at kde.org
Wed Jun 24 11:33:32 BST 2026


Git commit 01d4660ea0d123e5e08d88bba65adefb04d20b94 by Scarlett Moore.
Committed on 24/06/2026 at 10:33.
Pushed by scarlettmoore into branch 'work.core24'.

add missing env from kcmutils

M  +11   -1    snapcraft.yaml

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

diff --git a/snapcraft.yaml b/snapcraft.yaml
index e101923..1fca986 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1437,8 +1437,18 @@ parts:
       - kde-qt6-core24-sdk/latest/beta
     plugin: cmake
     cmake-generator: Ninja
-    cmake-parameters: *cmakeparameters
+    cmake-parameters:
+      - -DCMAKE_INSTALL_PREFIX=/usr
+      - -DCMAKE_BUILD_TYPE=Release
+      - -DQT_MAJOR_VERSION=6
+      - -DUSE_QT6=ON
+      - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core24-sdk/current\\;/usr"
+      - "-DCMAKE_PREFIX_PATH=$CRAFT_STAGE\\:/snap/kde-qt6-core24-sdk/current\\:/usr"
     build-environment:
+      - LIBCLANG_LIBDIR: /snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19/lib
+      - LIBCLANG_PATH: /snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19/bin
+      - LLVM_INSTALL_DIR: /snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19
+      - PATH: /snap/kde-qt6-core24-sdk/current/usr/bin:/snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19/bin:/snap/kde-pyside6-core24-sdk/current/usr/bin${PATH:+:$PATH}
       - QT_PLUGIN_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/plugins:/snap/kf6-core24/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/plugins:/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/plugins"
       - QML_IMPORT_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml:/snap/kf6-core24/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml:/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml"
       - QT_INSTALL_QML: $QML_IMPORT_PATH


More information about the Neon-commits mailing list