On 11.03.2017 16:44, Elvis Stansvik wrote:
2017-03-10 23:26 GMT+01:00 Elvis Stansvik <elvst...@gmail.com>:
In the end, I realized it wasn't really feasible to bundle Breeze
inside the AppImage anyway, because of the many KF5 dependencies. I
thought that the widget style .so would only have Qt as dependency,
but realize now that it does a fair amount of integration with Plasma
as well.

For the heck of it, I gave it a go anyway, and it seems to work out
fine. I was able to build/install ECM, KWindowSystem, KConfig,
KGuiAddons, KCodecs, KWidgetAddons, KCoreAddons, KAuth, KI18n,
KConfigWidgets, KArchive, KPackage and finally Breeze in the CentOS
6.7 Docker image I use for AppImage builds. The additional breeze.so +
dependencies added around 7 MB to my image. This is quite a chunk, but
I think it's acceptable, to get the Breeze look, since the primary
target machines will be running Plasma. Everything seems to be working
fine from my first tests, the AppImage even respects the Breeze
settings and color scheme from "outside" the image.

The biggest chunk is the kcharselect-data file (3 MiB). If your application does not use the KCharSelect widget, you can simply omit the file.

For a future KF5 version, I plan to make the KCharSelect class work better when the data file is missing.

Christoph Feck

Reply via email to