Bug 509437 - skrooge flatpak exits with Cannot mix incompatible Qt library (6.9.0) with this library (6.9.2)
Summary: skrooge flatpak exits with Cannot mix incompatible Qt library (6.9.0) with th...
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: Trunk from git
Platform: Flatpak Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-12 21:31 UTC by skierpage
Modified: 2025-09-13 04:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2025-09-12 21:31:52 UTC
SUMMARY
The skrooge-nightly flatpak displays its splash window then exits, printing
    ##FATAL: Cannot mix incompatible Qt library (6.9.0) with this library (6.9.2)

STEPS TO REPRODUCE
1. Install "nightly" Skrooge flatpak, instructions are at https://userbase.kde.org/Tutorials/Flatpak#Nightly_KDE_apps
2. Enter `flatpak run org.kde.skrooge//master` in a terminal window.

OBSERVED RESULT
Terminal displays
    ##FATAL: Cannot mix incompatible Qt library (6.9.0) with this library (6.9.2)

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: n/a
KDE Frameworks Version: 6.17 ?
Qt Version: 6.9.0 or 6.9.2

ADDITIONAL INFORMATION
This sounds like Bug 402145. In the past it's happened because Qt plug-ins and consumers aren't compatible across minor version difference. It usually goes away when Skrooge and/or the org.kde.skrooge//6.9 runtime are rebuilt. I'll try to rebuild the nightly flatpak.

I think the KDE runtime is providing /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.9.2 , but the app flatpak contains files like ./files/lib/x86_64-linux-gnu/libQt6Pdf.so.6.9.0 , suggesting that the skrooge app is somehow linking against 6.9.0 or including a 6.9.0 library.
Comment 1 skierpage 2025-09-12 21:40:34 UTC
I found the most recent CI pipeline https://invent.kde.org/office/skrooge/-/pipelines/1038315 , and clicked the retry icon on its deploy / flatpak step. Fingers crossed...
Comment 2 skierpage 2025-09-13 04:31:09 UTC
(In reply to skierpage from comment #1)
> I found the most recent CI pipeline
> https://invent.kde.org/office/skrooge/-/pipelines/1038315 , and clicked the
> retry icon on its deploy / flatpak step.
That completed and there was a new org.kde.Platform/x86_64/6.9 build on flathub. The combination works.