Bug 416474 - appimage: Cannot mix incompatible Qt library
Summary: appimage: Cannot mix incompatible Qt library
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.2.8
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-19 19:15 UTC by Alejandro Vargas
Modified: 2020-01-21 08:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Vargas 2020-01-19 19:15:15 UTC
Cannot execute krita-4.2.8-x86_64.appimage in Mageia 7

The splash screen is shown but it aborts with the error:

Set style "fusion"
QObject::startTimer: Timers cannot have negative intervals
/tmp/.mount_krita-HoSYgI/usr/lib/krita-python-libs/krita added to PYTHONPATH
Cannot mix incompatible Qt library (version 0x50c06) with this library (version 0x50c05)
Abortado (`core' generado)


Being an appimage... it should work anywhere...

Tried flatpak version. It works but can't save files.
Comment 1 Halla Rempt 2020-01-19 20:43:09 UTC
I'm sorry, but that's a distribution issue. Maybe they set QT_PLUGIN_PATH, or there's something else, but it's not something we can solve.
Comment 2 Alejandro Vargas 2020-01-20 09:23:46 UTC
(In reply to Boudewijn Rempt from comment #1)
> I'm sorry, but that's a distribution issue. Maybe they set QT_PLUGIN_PATH,
> or there's something else, but it's not something we can solve.

Are not appimages supposed to contain everything necessary to run independently of the rest of the system?
Comment 3 Alejandro Vargas 2020-01-20 09:35:31 UTC
(In reply to Boudewijn Rempt from comment #1)
> I'm sorry, but that's a distribution issue. Maybe they set QT_PLUGIN_PATH,
> or there's something else, but it's not something we can solve.


Solved the problem by unset QT_PLUGIN_PATH. You sould include this in the appimage for preventing it to try to use the system's QT plugins or at least do this when the system's QT vrsion is different than th included in the appimage.
Comment 4 Halla Rempt 2020-01-20 11:50:14 UTC
If there is a global QT_PLUGIN_PATH set that's a bug in the distribution: this variable should not be set globally. See https://doc.qt.io/qt-5/deployment-plugins.html
Comment 5 Alejandro Vargas 2020-01-21 08:39:53 UTC
(In reply to Boudewijn Rempt from comment #4)
> If there is a global QT_PLUGIN_PATH set that's a bug in the distribution:
> this variable should not be set globally. See
> https://doc.qt.io/qt-5/deployment-plugins.html

Ok, reported to Mageia: https://bugs.mageia.org/show_bug.cgi?id=26112
Comment 6 Halla Rempt 2020-01-21 08:40:39 UTC
Awesome, thanks!