Krita paint needs qt5 5.12

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
don570
Posts: 686
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 116 times

Krita paint needs qt5 5.12

Post 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
___________________________________________________

chiron
Posts: 21
Joined: Tue Jul 28, 2020 8:15 am
Location: Frankonia/EU
Has thanked: 4 times
Been thanked: 6 times

Re: Krita paint needs qt5 5.12

Post 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)

User avatar
JakeSFR
Posts: 276
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 159 times

Re: Krita paint needs qt5 5.12

Post 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!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
don570
Posts: 686
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 116 times

Re: Krita paint needs qt5 5.12

Post 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.
___________________________________

don570
Posts: 686
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 116 times

Re: Krita paint needs qt5 5.12

Post 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

___________________________________________

Post Reply

Return to “FatDog”