From be4658f2391b0199dd17eb38b9b9371bf88e9119 Mon Sep 17 00:00:00 2001 From: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> Date: Wed, 10 Dec 2025 00:02:55 -0300 Subject: [PATCH 01/10] Attempting to add the use of lxqt-support Signed-off-by: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> --- snapcraft/extensions/kde_neon_6.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/snapcraft/extensions/kde_neon_6.py b/snapcraft/extensions/kde_neon_6.py index 0588dadca1..a891851e11 100644 --- a/snapcraft/extensions/kde_neon_6.py +++ b/snapcraft/extensions/kde_neon_6.py @@ -189,6 +189,8 @@ def get_root_snippet(self) -> dict[str, Any]: content_kf6_snap = self.kde_snaps.content_kf6 + "-all" gpu_plugs = self.kde_snaps.gpu_plugs gpu_layouts = self.kde_snaps.gpu_layouts + base = self.yaml_data["base"] + lxqt_support_snap = f"lxqt-support-{base}" return { "assumes": ["snapd2.58.3"], # for cups support @@ -221,12 +223,26 @@ def get_root_snippet(self) -> dict[str, Any]: "default-provider": platform_kf6_snap, "target": "$SNAP/kf6", }, + lxqt_support_snap: { + "content": lxqt_support_snap, + "interface": "content", + "target": f"$SNAP/{lxqt_support_snap}", + "default-provider": lxqt_support_snap, + }, **gpu_plugs, }, "environment": { "SNAP_DESKTOP_RUNTIME": "$SNAP/kf6", "GTK_USE_PORTAL": "1", "PLATFORM_PLUG": platform_kf6_snap, + "LD_LIBRARY_PATH": ( + f"$SNAP/{lxqt_support_snap}/usr/lib/" + "${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}" + ), + "QT_PLUGIN_PATH": ( + f"$SNAP/{lxqt_support_snap}/usr/lib/" + "${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}" + ), }, "hooks": { "configure": { @@ -237,6 +253,12 @@ def get_root_snippet(self) -> dict[str, Any]: "layout": { "/usr/share/X11": {"symlink": "$SNAP/kf6/usr/share/X11"}, "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, + "/usr/share/color-schemes": { + "symlink": f"$SNAP/{lxqt_support_snap}/usr/share/color-schemes" + }, + "/usr/share/Kvantum": { + "symlink": f"$SNAP/{lxqt_support_snap}/usr/share/Kvantum" + }, **gpu_layouts, }, } From 29da5378b05cdda7ba77261bd51cb588cb207fdd Mon Sep 17 00:00:00 2001 From: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> Date: Wed, 10 Dec 2025 02:35:30 -0300 Subject: [PATCH 02/10] =?UTF-8?q?Adding=20use=20of=20=E2=80=9Cxdgdesktoppo?= =?UTF-8?q?rtal=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> --- snapcraft/extensions/kde_neon_6.py | 1 + 1 file changed, 1 insertion(+) diff --git a/snapcraft/extensions/kde_neon_6.py b/snapcraft/extensions/kde_neon_6.py index a891851e11..d8ad4b1122 100644 --- a/snapcraft/extensions/kde_neon_6.py +++ b/snapcraft/extensions/kde_neon_6.py @@ -235,6 +235,7 @@ def get_root_snippet(self) -> dict[str, Any]: "SNAP_DESKTOP_RUNTIME": "$SNAP/kf6", "GTK_USE_PORTAL": "1", "PLATFORM_PLUG": platform_kf6_snap, + "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", "LD_LIBRARY_PATH": ( f"$SNAP/{lxqt_support_snap}/usr/lib/" "${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}" From 9e8a219cb1becc24b0ef471eef72f7b7486a265b Mon Sep 17 00:00:00 2001 From: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> Date: Wed, 10 Dec 2025 11:40:25 -0300 Subject: [PATCH 03/10] Apply suggestion from @lengau Co-authored-by: Alex Lowe Signed-off-by: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> --- snapcraft/extensions/kde_neon_6.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snapcraft/extensions/kde_neon_6.py b/snapcraft/extensions/kde_neon_6.py index d8ad4b1122..df13315d11 100644 --- a/snapcraft/extensions/kde_neon_6.py +++ b/snapcraft/extensions/kde_neon_6.py @@ -189,7 +189,8 @@ def get_root_snippet(self) -> dict[str, Any]: content_kf6_snap = self.kde_snaps.content_kf6 + "-all" gpu_plugs = self.kde_snaps.gpu_plugs gpu_layouts = self.kde_snaps.gpu_layouts - base = self.yaml_data["base"] + if not (base := self.yaml_data.get("base")): + raise CraftValidationError("The 'base' key is required.") lxqt_support_snap = f"lxqt-support-{base}" return { From 8ba73bc1add8f603964953f06fc0d614f593bcaf Mon Sep 17 00:00:00 2001 From: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:28:14 -0300 Subject: [PATCH 04/10] Added lxqt-support-core22 to the "spread task file" in the kde-neon-6 folder Signed-off-by: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> --- tests/spread/extensions/kde-neon-6/task.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/spread/extensions/kde-neon-6/task.yaml b/tests/spread/extensions/kde-neon-6/task.yaml index 812927981d..11f4eaf73f 100644 --- a/tests/spread/extensions/kde-neon-6/task.yaml +++ b/tests/spread/extensions/kde-neon-6/task.yaml @@ -44,6 +44,7 @@ execute: | # Verify content snap was installed for dependency checks. snap list gtk-common-themes snap list kf6-core22 + snap list lxqt-support-core22 # Verify all dependencies were found. if echo "$output" | grep -q "part is missing libraries"; then From b59c03ddad9069e7c8554560443463cd3d051d07 Mon Sep 17 00:00:00 2001 From: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:28:44 -0300 Subject: [PATCH 05/10] Added lxqt-support-core24 to the "spread task file" in the kde-neon-6-core24 folder Signed-off-by: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> --- tests/spread/extensions/kde-neon-6-core24/task.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/spread/extensions/kde-neon-6-core24/task.yaml b/tests/spread/extensions/kde-neon-6-core24/task.yaml index 0a61d9fe7f..109e40a236 100644 --- a/tests/spread/extensions/kde-neon-6-core24/task.yaml +++ b/tests/spread/extensions/kde-neon-6-core24/task.yaml @@ -44,6 +44,7 @@ execute: | # Verify content snap was installed for dependency checks. snap list gtk-common-themes snap list kf6-core24 + snap list lxqt-support-core24 # Verify all dependencies were found. if echo "$output" | grep -q "part is missing libraries"; then From e974834c0ccabbeaba8e82c6b572dd69eff19c54 Mon Sep 17 00:00:00 2001 From: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> Date: Fri, 12 Dec 2025 14:26:46 -0300 Subject: [PATCH 06/10] Updating test_kde_neon_6.py file to work with lxqt-support-core22 and lxqt-support-core24 Signed-off-by: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> --- tests/unit/extensions/test_kde_neon_6.py | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/tests/unit/extensions/test_kde_neon_6.py b/tests/unit/extensions/test_kde_neon_6.py index 95252ae707..0020d6de3a 100644 --- a/tests/unit/extensions/test_kde_neon_6.py +++ b/tests/unit/extensions/test_kde_neon_6.py @@ -177,6 +177,9 @@ def test_get_root_snippet(kde_neon_6_extension): "SNAP_DESKTOP_RUNTIME": "$SNAP/kf6", "GTK_USE_PORTAL": "1", "PLATFORM_PLUG": "kf6-core22", + "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", + "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", + "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { @@ -188,6 +191,8 @@ def test_get_root_snippet(kde_neon_6_extension): "/usr/share/X11": {"symlink": "$SNAP/kf6/usr/share/X11"}, "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/kf6-core22/usr/share/libdrm"}, + "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core22/usr/share/Kvantum"}, + "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core22/usr/share/color-schemes"}, }, "plugs": { "desktop": {"mount-host-font-cache": False}, @@ -217,6 +222,12 @@ def test_get_root_snippet(kde_neon_6_extension): "default-provider": "kf6-core22", "target": "$SNAP/kf6", }, + "lxqt-support-core22": { + "content": "lxqt-support-core22", + "interface": "content", + "default-provider": "lxqt-support-core22", + "target": "$SNAP/lxqt-support-core22", + }, }, } @@ -229,6 +240,9 @@ def test_get_root_snippet_core24(kde_neon_6_extension_core24): "SNAP_DESKTOP_RUNTIME": "$SNAP/kf6", "GTK_USE_PORTAL": "1", "PLATFORM_PLUG": "kf6-core24", + "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", + "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", + "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { @@ -241,6 +255,8 @@ def test_get_root_snippet_core24(kde_neon_6_extension_core24): "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/gpu-2404/libdrm"}, "/usr/share/drirc.d": {"symlink": "$SNAP/gpu-2404/drirc.d"}, + "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core24/usr/share/Kvantum"}, + "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core24/usr/share/color-schemes"}, }, "plugs": { "desktop": {"mount-host-font-cache": False}, @@ -275,6 +291,12 @@ def test_get_root_snippet_core24(kde_neon_6_extension_core24): "interface": "content", "target": "$SNAP/gpu-2404", }, + "lxqt-support-core24": { + "content": "lxqt-support-core24", + "interface": "content", + "default-provider": "lxqt-support-core24", + "target": "$SNAP/lxqt-support-core24", + }, }, } @@ -314,6 +336,9 @@ def test_get_root_snippet_with_external_sdk(kde_neon_6_extension_with_build_snap "SNAP_DESKTOP_RUNTIME": "$SNAP/kf6", "GTK_USE_PORTAL": "1", "PLATFORM_PLUG": "kf6-core22", + "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", + "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", + "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { @@ -325,6 +350,8 @@ def test_get_root_snippet_with_external_sdk(kde_neon_6_extension_with_build_snap "/usr/share/X11": {"symlink": "$SNAP/kf6/usr/share/X11"}, "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/kf6-core22/usr/share/libdrm"}, + "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core22/usr/share/Kvantum"}, + "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core22/usr/share/color-schemes"}, }, "plugs": { "desktop": {"mount-host-font-cache": False}, @@ -354,6 +381,12 @@ def test_get_root_snippet_with_external_sdk(kde_neon_6_extension_with_build_snap "default-provider": "kf6-core22", "target": "$SNAP/kf6", }, + "lxqt-support-core22": { + "content": "lxqt-support-core22", + "interface": "content", + "default-provider": "lxqt-support-core22", + "target": "$SNAP/lxqt-support-core22", + }, }, } @@ -368,6 +401,9 @@ def test_get_root_snippet_with_external_sdk_core24( "SNAP_DESKTOP_RUNTIME": "$SNAP/kf6", "GTK_USE_PORTAL": "1", "PLATFORM_PLUG": "kf6-core24", + "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", + "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", + "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { @@ -380,6 +416,8 @@ def test_get_root_snippet_with_external_sdk_core24( "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/gpu-2404/libdrm"}, "/usr/share/drirc.d": {"symlink": "$SNAP/gpu-2404/drirc.d"}, + "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core24/usr/share/Kvantum"}, + "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core24/usr/share/color-schemes"}, }, "plugs": { "desktop": {"mount-host-font-cache": False}, @@ -414,6 +452,12 @@ def test_get_root_snippet_with_external_sdk_core24( "interface": "content", "target": "$SNAP/gpu-2404", }, + "lxqt-support-core24": { + "content": "lxqt-support-core24", + "interface": "content", + "default-provider": "lxqt-support-core24", + "target": "$SNAP/lxqt-support-core24", + }, }, } From 2a73c036fdc5d4be0585fd9313352cde368a6053 Mon Sep 17 00:00:00 2001 From: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> Date: Sun, 14 Dec 2025 02:31:31 -0300 Subject: [PATCH 07/10] Attempting to repair the kde-neon-6 extension file Signed-off-by: Kyuyrii <190517858+Kyuyrii@users.noreply.github.com> --- snapcraft/extensions/kde_neon_6.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snapcraft/extensions/kde_neon_6.py b/snapcraft/extensions/kde_neon_6.py index df13315d11..b1ee27c957 100644 --- a/snapcraft/extensions/kde_neon_6.py +++ b/snapcraft/extensions/kde_neon_6.py @@ -22,6 +22,7 @@ import re from typing import Any +from craft_application.errors import CraftValidationError from overrides import overrides from .extension import Extension, get_extensions_data_dir, prepend_to_env @@ -190,7 +191,7 @@ def get_root_snippet(self) -> dict[str, Any]: gpu_plugs = self.kde_snaps.gpu_plugs gpu_layouts = self.kde_snaps.gpu_layouts if not (base := self.yaml_data.get("base")): - raise CraftValidationError("The 'base' key is required.") + raise CraftValidationError("The 'base' key is required.") lxqt_support_snap = f"lxqt-support-{base}" return { From 89d6663c3792049dadb25a29e26002002309c37b Mon Sep 17 00:00:00 2001 From: Kyuyrii Date: Sun, 14 Dec 2025 03:28:45 -0300 Subject: [PATCH 08/10] Removing space that caused an error in test_kde_neon_6.py --- tests/unit/extensions/test_kde_neon_6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/extensions/test_kde_neon_6.py b/tests/unit/extensions/test_kde_neon_6.py index 0020d6de3a..7ab9060027 100644 --- a/tests/unit/extensions/test_kde_neon_6.py +++ b/tests/unit/extensions/test_kde_neon_6.py @@ -242,7 +242,7 @@ def test_get_root_snippet_core24(kde_neon_6_extension_core24): "PLATFORM_PLUG": "kf6-core24", "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", - "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", + "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { From 0c1a23b04345b927ef4a4a236010b21ae4f5adf0 Mon Sep 17 00:00:00 2001 From: Kyuyrii Date: Sun, 14 Dec 2025 04:15:29 -0300 Subject: [PATCH 09/10] Attempting to correct the formatting of the test_kde_neon_6.py file --- tests/unit/extensions/test_kde_neon_6.py | 32 ++++++++++++++++++------ 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/tests/unit/extensions/test_kde_neon_6.py b/tests/unit/extensions/test_kde_neon_6.py index 7ab9060027..3744f2bf0e 100644 --- a/tests/unit/extensions/test_kde_neon_6.py +++ b/tests/unit/extensions/test_kde_neon_6.py @@ -191,8 +191,12 @@ def test_get_root_snippet(kde_neon_6_extension): "/usr/share/X11": {"symlink": "$SNAP/kf6/usr/share/X11"}, "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/kf6-core22/usr/share/libdrm"}, - "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core22/usr/share/Kvantum"}, - "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core22/usr/share/color-schemes"}, + "/usr/share/Kvantum": { + "symlink": "$SNAP/lxqt-support-core22/usr/share/Kvantum" + }, + "/usr/share/color-schemes": { + "symlink": "$SNAP/lxqt-support-core22/usr/share/color-schemes" + }, }, "plugs": { "desktop": {"mount-host-font-cache": False}, @@ -255,8 +259,12 @@ def test_get_root_snippet_core24(kde_neon_6_extension_core24): "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/gpu-2404/libdrm"}, "/usr/share/drirc.d": {"symlink": "$SNAP/gpu-2404/drirc.d"}, - "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core24/usr/share/Kvantum"}, - "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core24/usr/share/color-schemes"}, + "/usr/share/Kvantum": { + "symlink": "$SNAP/lxqt-support-core24/usr/share/Kvantum" + }, + "/usr/share/color-schemes": { + "symlink": "$SNAP/lxqt-support-core24/usr/share/color-schemes" + }, }, "plugs": { "desktop": {"mount-host-font-cache": False}, @@ -350,8 +358,12 @@ def test_get_root_snippet_with_external_sdk(kde_neon_6_extension_with_build_snap "/usr/share/X11": {"symlink": "$SNAP/kf6/usr/share/X11"}, "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/kf6-core22/usr/share/libdrm"}, - "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core22/usr/share/Kvantum"}, - "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core22/usr/share/color-schemes"}, + "/usr/share/Kvantum": { + "symlink": "$SNAP/lxqt-support-core22/usr/share/Kvantum" + }, + "/usr/share/color-schemes": { + "symlink": "$SNAP/lxqt-support-core22/usr/share/color-schemes" + }, }, "plugs": { "desktop": {"mount-host-font-cache": False}, @@ -416,8 +428,12 @@ def test_get_root_snippet_with_external_sdk_core24( "/usr/share/qt6": {"symlink": "$SNAP/kf6/usr/share/qt6"}, "/usr/share/libdrm": {"bind": "$SNAP/gpu-2404/libdrm"}, "/usr/share/drirc.d": {"symlink": "$SNAP/gpu-2404/drirc.d"}, - "/usr/share/Kvantum": {"symlink": "$SNAP/lxqt-support-core24/usr/share/Kvantum"}, - "/usr/share/color-schemes": {"symlink": "$SNAP/lxqt-support-core24/usr/share/color-schemes"}, + "/usr/share/Kvantum": { + "symlink": "$SNAP/lxqt-support-core24/usr/share/Kvantum" + }, + "/usr/share/color-schemes": { + "symlink": "$SNAP/lxqt-support-core24/usr/share/color-schemes" + }, }, "plugs": { "desktop": {"mount-host-font-cache": False}, From f243f9d83866e6e5bfa3fb1dcddbd7f9e99da85b Mon Sep 17 00:00:00 2001 From: Kyuyrii Date: Sun, 14 Dec 2025 17:34:14 -0300 Subject: [PATCH 10/10] Removed forced use of "xdgdesktopportal" --- snapcraft/extensions/kde_neon_6.py | 1 - tests/unit/extensions/test_kde_neon_6.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/snapcraft/extensions/kde_neon_6.py b/snapcraft/extensions/kde_neon_6.py index b1ee27c957..4c63115240 100644 --- a/snapcraft/extensions/kde_neon_6.py +++ b/snapcraft/extensions/kde_neon_6.py @@ -237,7 +237,6 @@ def get_root_snippet(self) -> dict[str, Any]: "SNAP_DESKTOP_RUNTIME": "$SNAP/kf6", "GTK_USE_PORTAL": "1", "PLATFORM_PLUG": platform_kf6_snap, - "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", "LD_LIBRARY_PATH": ( f"$SNAP/{lxqt_support_snap}/usr/lib/" "${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}" diff --git a/tests/unit/extensions/test_kde_neon_6.py b/tests/unit/extensions/test_kde_neon_6.py index 3744f2bf0e..3e4fbef21a 100644 --- a/tests/unit/extensions/test_kde_neon_6.py +++ b/tests/unit/extensions/test_kde_neon_6.py @@ -179,7 +179,6 @@ def test_get_root_snippet(kde_neon_6_extension): "PLATFORM_PLUG": "kf6-core22", "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", - "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { @@ -246,7 +245,6 @@ def test_get_root_snippet_core24(kde_neon_6_extension_core24): "PLATFORM_PLUG": "kf6-core24", "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", - "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { @@ -346,7 +344,6 @@ def test_get_root_snippet_with_external_sdk(kde_neon_6_extension_with_build_snap "PLATFORM_PLUG": "kf6-core22", "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core22/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", - "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": { @@ -415,7 +412,6 @@ def test_get_root_snippet_with_external_sdk_core24( "PLATFORM_PLUG": "kf6-core24", "LD_LIBRARY_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:${LD_LIBRARY_PATH}", "QT_PLUGIN_PATH": "$SNAP/lxqt-support-core24/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins:${QT_PLUGIN_PATH}", - "QT_QPA_PLATFORMTHEME": "xdgdesktopportal", }, "hooks": { "configure": {