Qt Plugins and Minor Version Incompatibility

Dear all, I would like to ask your advice on a problem I am currently experiencing with the flatpak version of my app, de.akaflieg_freiburg.enroute.

The app uses QMapLibre, an extremely performant third-party Qt-plugin used to draw geographic maps. The plugin is not contained in the runtime, but is compiled together with the app. The problem is that the version of Qt used during compilation must match the version of Qt during runtime PRECISELY. Any update of the Qt version in the runtime breaks the flatpak.

At present, my users complain because the app fails to start with error message “Cannot mix incompatible Qt library (6.9.2) with this library (6.9.3)”. I rebuilt the flatpak as a temporary solution, but this will break again, next time the runtime is updated. I am looking for a more permanent solution, ensuring that library versions match.

I would appreciate any suggestions of what I could be doing.

Best wishes – Stefan.