Qt5 (for lyx, qpdfview, texstudio) [Solved]
-
- Warlord
- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Qt5 (for lyx, qpdfview, texstudio) [Solved]
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.
Qt5
You can find Qt 5.9.1 here:
viewtopic.php?f=49&t=7037
viewtopic.php?f=49&t=7037
-
- Warlord
- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Qt5
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:
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.
Code: Select all
# lyx
lyx: /usr/lib64/libQt5Core.so.5: version `Qt_5.10' not found (required by lyx)
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.
Qt5
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.
-
- Warlord
- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Qt5
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.
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.
-
- Warlord
- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Qt5
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
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?
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
-
- Warlord
- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Qt5
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
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Qt5
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
-
- Warlord
- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Qt5 (for lyx, qpdfview, texstudio) [Solved]
@jssouza,
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:
I suspect your binary doesn't care for those libraries to be present hence doesn't offer spellchecker features?
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)