What am I doing wrong in my Manifest such that my Flatpak app gets "CRITICAL Qt: Cannot mix incompatible Qt library" when the (KDE runtime updates?) but others don't?

I’ve had this issue twice now. It looks like this:

INFO __main__: Starting BeeRef version 0.3.3
INFO __main__: Using settings: /home/{redacted}/.var/app/org.beeref.BeeRef/config/BeeRef/BeeRef.ini
INFO __main__: Logging to: /home/{redacted}/.var/app/org.beeref.BeeRef/config/BeeRef/BeeRef.log
CRITICAL Qt: Cannot mix incompatible Qt library (6.7.2) with this library (6.7.3)

Both times, the KDE runtime updated, and the app stopped launching. I had to make a PR that simply rebuilds the Flatpak to fix it (i.e Force rebuild by dginovker · Pull Request #69 · flathub/org.beeref.BeeRef · GitHub)

Am I doing something wrong in my manifest that causes this to happen? I don’t see other Flatpak apps with this issue.

Try setting flatpak run --env=QT_DEBUG_PLUGINS=1 app-id and see if it shows which library has the issue.

This more of a Qt question and unrelated to Flathub. This may happen if something is using private Qt APIs I think, other than that patch releases of Qt should be compatible with each other and shouldn’t need rebuilding.

1 Like