Qt5 (for lyx, qpdfview, texstudio) [Solved]

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Qt5 (for lyx, qpdfview, texstudio) [Solved]

Post#1 by rych » 20 Mar 2018, 07:22

I'm on Porteus-v3.2.2 LXDE, which is great but I do need Qt5 on it too for a couple of apps. USM does find it but for many months it has given me "LIBS.TXT" error when I try to install Qt5 especially and all its dependencies. And so I thought maybe anyone had a recent Qt5 module, please? I'm expecting it may be as large as 80MB with all the dependencies.
Last edited by rych on 25 Mar 2018, 04:16, edited 1 time in total.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Qt5

Post#2 by jssouza » 20 Mar 2018, 07:46

You can find Qt 5.9.1 here:
viewtopic.php?f=49&t=7037

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Qt5

Post#3 by rych » 21 Mar 2018, 06:37

jssouza, Thanks so much. Unfortunately, the new LyX 2.3 that I'm trying to install from an OpenSUSE rpm seems to be built against a newer Qt5:

Code: Select all

# lyx
lyx: /usr/lib64/libQt5Core.so.5: version `Qt_5.10' not found (required by lyx)
I wonder if you would ever find the time to build a Qt 5.10?

n0ctilucient, Thank you, I should indeed start learning the tools from your list because the USM rarely works even with older packaged it promises it has but hits the wall of "LIBS.TXT" errors.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Qt5

Post#4 by jssouza » 21 Mar 2018, 18:56

rych wrote:
21 Mar 2018, 06:37
I wonder if you would ever find the time to build a Qt 5.10?
Another way woud be to build lyx 2.3 with Qt 5.9.1. So, I compiled lyx 2.3 with qt 5.9.1 and it seems working. Please check.
1. Download and activate qt5-5.9.1-x86_64-1jss.xzm from viewtopic.php?f=49&t=7037
2. Download and activate lyx bundle from http://www.mediafire.com/file/barrt0ikv ... 64-jss.xzm
Let me know if it works.

The lyx bundle also contains python 2.7 as a dependency. If this works, I can create a stripped down bundle removing unneeded files from python 2.7, so that the bundle is smaller.

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Qt5

Post#5 by rych » 22 Mar 2018, 05:56

jssouza, Thank you those worked! I also managed to get the qpdfview-Qt5, will now try to get TeXStudio also Qt5, and that's all Qt-apps I'm using I think.

Indeed I already had a python-2.7.11-x86_64-bundle.xzm in my modules folder. There's no conflict to roll one over the other I hope, but I'm going to remove mine anyway since yours includes it.

I think this probably concludes this thread thanks to your solution. I guess next time I would ask for this again is when/if I have to move my Qt to Qt 5.10.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Qt5

Post#6 by jssouza » 22 Mar 2018, 16:00

Great! :good:

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Qt5

Post#7 by rych » 23 Mar 2018, 05:36

jssouza, Actually could I bother you with one last thing: TeXStudio from https://www.texstudio.org/, please?

I'm trying to install a Qt5 build of it, for example, I take an rpm from OpenSuse :texstudio-2.12.8-18.1.x86_64.rpm. Converting to xzm and activating it tells me

Code: Select all

# texstudio
texstudio: error while loading shared libraries: libQt5Script.so.5: cannot open shared object file: No such file or directory
The Qt5 module is incomplete yet, at least for the TexStudio. Do you happen to have a larger Qt5 maybe? Could help or teach me how to go about chasing these Qt5 submodules dependencies further?

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Qt5

Post#8 by rych » 24 Mar 2018, 04:51

n0ctilucient, yes I used to have that, it's Qt4. Luckily, the other thread of jssouza had an additional module qtscript-5.9.1-x86_64-1jss.xzm that made it complete for TeXstudio, and now everything works on Qt5.9.1

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Qt5

Post#9 by Ed_P » 24 Mar 2018, 05:01

rych wrote:
21 Mar 2018, 06:37
I should indeed start learning the tools from your list because the USM rarely works even with older packaged it promises it has but hits the wall of "LIBS.TXT" errors.
Have you tried changing the USM mirrors files? sesm.sh does a very nice job of doing that. [INFO & SCRIPT] Slackware Mirror Settings for USM
Ed

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Qt5 (for lyx, qpdfview, texstudio) [Solved]

Post#10 by rych » 21 May 2018, 06:03

@jssouza,
jssouza wrote:
21 Mar 2018, 18:56
Another way woud be to build lyx 2.3 with Qt 5.9.1. So, I compiled lyx 2.3 with qt 5.9.1 and it seems working. Please check.
Actually, one important thing does not work: the spellchecker. Spellchecker preferences are disabled, grayed out. I have teh aspell, hunspell, enchant all installed and working both from command line and my previous LyX, lyx-2.2.3-x86_64-bundle.xzm. Apparently, LyX is sometimes built without spellchecker support (whyever), perhaps it was the case with your LyX module.

Then on top of your module I put the lyx binaries from https://archlinux.pkgs.org/rolling/arch ... ar.xz.html. Their lyx binary does require mythes and enchant, which I quickly installed and continued, only to find out that theirs are built against Qt 5.10:

Code: Select all

root@porteus:~# lyx
lyx: error while loading shared libraries: libmythes-1.2.so.0: cannot open shared object file: No such file or directory
root@porteus:~# lyx
lyx: error while loading shared libraries: libenchant-2.so.2: cannot open shared object file: No such file or directory
root@porteus:~# lyx
lyx: /usr/lib64/libQt5Core.so.5: version `Qt_5.10' not found (required by lyx)
I suspect your binary doesn't care for those libraries to be present hence doesn't offer spellchecker features?

Post Reply