# Flatpak org.kde.Sdk 6.8 runtime is now available

**URL:** <https://discuss.kde.org/t/flatpak-org-kde-sdk-6-8-runtime-is-now-available/24717>\
**Category:** Announcement\
**Tags:** flatpak\
**Created:** [October 31, 2024, 12:00am UTC](https://discuss.kde.org/t/flatpak-org-kde-sdk-6-8-runtime-is-now-available/24717 "2024-10-31T00:00:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aacid](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/aacid/32/381_2.png) [@aacid](https://discuss.kde.org/u/aacid)\
**Post date:** [October 31, 2024, 12:00am UTC](https://discuss.kde.org/t/flatpak-org-kde-sdk-6-8-runtime-is-now-available/24717/1 "2024-10-31T00:00:03Z")

</div>

It tracks Qt 6.8 plus latest KDE Frameworks.

It is based in the freedesktop SDK runtime 24.08

---

<div class="post-metadata">

**Author:** ![bbhtt](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/bbhtt/32/9829_2.png) [@bbhtt](https://discuss.kde.org/u/bbhtt)\
**Post date:** [October 31, 2024, 1:30pm UTC](https://discuss.kde.org/t/flatpak-org-kde-sdk-6-8-runtime-is-now-available/24717/2 "2024-10-31T13:30:44Z")

</div>

Please note that if you are building something against the 6.8 runtime, use only the latest **Flatpak Builder 1.4.4**.

> **Details**
>
> On Freedesktop runtime 24.08 we did some changes to Cmake libdir configuration that instructed apps to use `/app/lib` as the install path.
> 
> This was previously a patch to Cmake in Freedesktop SDK, but in 24.08 we dropped that patch and instead set `CMAKE_INSTALL_LIBDIR` in Flatpak Builder.

---

<div class="post-metadata">

**Author:** ![bbhtt](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/bbhtt/32/9829_2.png) [@bbhtt](https://discuss.kde.org/u/bbhtt)\
**Post date:** [October 31, 2024, 4:13pm UTC](https://discuss.kde.org/t/flatpak-org-kde-sdk-6-8-runtime-is-now-available/24717/3 "2024-10-31T16:13:58Z")

</div>

Additionally,

1. If any app is using `--env=QML_IMPORT_PATH=/app/qml` to load QML modules for Qt Pdf, Webengine and Webview from the QtWebengine baseapp, they should drop that finish-arg when updating to 6.8.

The location of the modules changed to `/app/lib/qml` in 6.8+ and the runtime sets `QML2_IMPORT_PATH=/app/lib64/qml:/app/lib/qml`. So it should work by default now.

1. If any app is setting `QT_PLUGIN_PATH` to have `/app/plugins`, they should remove that as well when updating to 6.8.

The location of the plugins changed to `/app/lib/plugins` on 6.8+ and the  
runtime sets `QT_PLUGIN_PATH=/app/lib64/plugins:/app/lib/plugins:/usr/share/runtime/lib/plugins`. So it should work by default now.

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/matterhorn103/32/8547_2.png) [@matterhorn103](https://discuss.kde.org/u/matterhorn103)\
**Post date:** [November 14, 2024, 8:37pm UTC](https://discuss.kde.org/t/flatpak-org-kde-sdk-6-8-runtime-is-now-available/24717/4 "2024-11-14T20:37:57Z")

</div>

If our application isn’t using any of those environment variables, and `flatpak-builder` is up-to-date, is it likely that these changes can cause other issues?

When I try to change the SDK version to 6.8, the Flatpak builds successfully (according to Buildbot) but the produced Flatpak doesn’t start, producing what I guess is a linking error:

```auto
avogadro2: error while loading shared libraries: libAvogadroQtOpenGL.so.1: cannot open shared object file: No  
such file or directory

```

With 6.7 everything works fine. Any ideas?

Edit: For anyone else it was because our build doesn’t seem to pick up `-DCMAKE_INSTALL_LIBDIR`, see [here](https://discourse.flathub.org/t/app-cant-launch-when-build-with-kde-sdk-6-8/8101).
