Page 1 of 1

Krita paint needs qt5 5.12

Posted: Wed May 25, 2022 7:08 pm
by don570

NOTE:

Krita paint program needs qt5 5.12 when in development.
Fatdog64 uses qt5 5.11, so there is an obvious problem.

However there is a version that does run nicely on fatdog64 , namely
krita 5.0.7
___________________________________________________


Re: Krita paint needs qt5 5.12

Posted: Sun May 29, 2022 4:02 pm
by chiron

To me, all versions of krita available at that link require Qt5 5.12. But, downloaded the stable krita 5.0.6 AppImage from krita.org and all is well. And, 5.0.6 also uses QT5 5.12, but it is inside the AppImage. Might be worth checking out, whether it is that way with the nightly versions, too.

BTW and if really nobody found out yet, you can right click AppImages and Uextract them, and have a Rox-App. Well, works with a lot of AppImages, but not with krita unfortunately. For krita to run as a Rox-App, you need to write your own AppRun which exports PATH. (I used the AppRun from inside MyPaint AppImage and only edited the line where it executes MyPaint to krita, and then it worked)


Re: Krita paint needs qt5 5.12

Posted: Mon May 30, 2022 1:48 pm
by JakeSFR
don570 wrote:

Fatdog64 uses qt5 5.11, so there is an obvious problem.

How did you launch that Krita AppImage? It (5.1.0-prealpha) works for me in 813 (WIP).

The problem with some AppImages, especially those using QT, is that they pick up system libs instead of the included ones, so if you run them from terminal, they may not work.
But if you click such an AppImage in ROX, it will be executed via /usr/local/bin/run-appimage script, which unsets the LD_LIBRARY_PATH env variable, forcing it to use only the included libs.

The script was added in FD-810.

chiron wrote:

BTW and if really nobody found out yet, you can right click AppImages and Uextract them

Yep, UExtract supports both older (ISO) and newer (SquashFS) AppImages.

Greetings!


Re: Krita paint needs qt5 5.12

Posted: Wed Jun 01, 2022 9:00 pm
by don570

The problem with some AppImages, especially those using QT, is that they pick up system libs instead of the included ones, so if you run them from terminal, they may not work.
But if you click such an AppImage in ROX, it will be executed via /usr/local/bin/run-appimage script, which unsets the LD_LIBRARY_PATH env variable, forcing it to use only the included libs.

I always use the terminal when I launch an AppImage or use a Bash script line command. I don't make changes to LD_LIBRARY_PATH env variable.

I'll try Rox and report back.
___________________________________


Re: Krita paint needs qt5 5.12

Posted: Sat Jun 04, 2022 5:55 pm
by don570

I checked the latest experimental KRITA 5.1
and it worked launching from ROX.

Also checked from terminal
and the following worked...

Code: Select all

LD_LIBRARY_PATH=    &&  ./krita-5.1.0-prealpha-88b7b8b824-x86_64.appimage

There is no need for double ampersand..

Code: Select all

LD_LIBRARY_PATH=     ./krita-5.1.0-prealpha-88b7b8b824-x86_64.appimage

___________________________________________