It tracks Qt 6.8 plus latest KDE Frameworks.
It is based in the freedesktop SDK runtime 24.08
It tracks Qt 6.8 plus latest KDE Frameworks.
It is based in the freedesktop SDK runtime 24.08
Please note that if you are building something against the 6.8 runtime, use only the latest Flatpak Builder 1.4.4.
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.
Additionally,
--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.
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.
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:
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.