Bug 411402 - Ktorrent Snap crashes on start because it needs Qt 5.12
Summary: Ktorrent Snap crashes on start because it needs Qt 5.12
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-28 20:45 UTC by Krish De Souza
Modified: 2023-05-03 18:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 23.04.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krish De Souza 2019-08-28 20:45:23 UTC
SUMMARY
Ktorrent complains about missing QT 5.12 with the snap.

STEPS TO REPRODUCE
1. sudo snap install ktorrent

OBSERVED RESULT
ktorrent: /snap/ktorrent/3/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by ktorrent)
ktorrent: /snap/ktorrent/3/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /snap/ktorrent/3/usr/lib/x86_64-linux-gnu/libktcore.so.16)
ktorrent: /snap/ktorrent/3/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /snap/ktorrent/3/usr/lib/x86_64-linux-gnu/libqca-qt5.so.2)


EXPECTED RESULT
Ktorrent to open without problems.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04 
(available in About System)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 newmrdenis 2019-10-01 19:09:25 UTC
Same situation. Approved
Comment 2 Laurent Bonnaud 2020-03-24 13:07:05 UTC
With this ktorrent snap version:

$ snap info ktorrent 
[...]
installed:   5.1.2            (7) 10MB -

error messages are slightly different:

$ /snap/bin/ktorrent 
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ktorrent: /snap/ktorrent/7/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by ktorrent)
ktorrent: /snap/ktorrent/7/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /snap/ktorrent/7/usr/lib/x86_64-linux-gnu/libktcore.so.16)
ktorrent: /snap/ktorrent/7/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /snap/ktorrent/7/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6)
ktorrent: /snap/ktorrent/7/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /snap/ktorrent/7/usr/lib/x86_64-linux-gnu/libqca-qt5.so.2)
Comment 3 Scarlett Moore 2023-05-03 14:10:24 UTC
Fixed. Please update to snap 23.04.0 in the snap store.
Comment 4 Laurent Bonnaud 2023-05-03 18:17:52 UTC
Thanks a lot for the fix!