Page 1 of 1

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

Posted: 20 Mar 2018, 07:22
by rych
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.

Qt5

Posted: 20 Mar 2018, 07:46
by jssouza
You can find Qt 5.9.1 here:
viewtopic.php?f=49&t=7037

Qt5

Posted: 21 Mar 2018, 06:37
by rych
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.

Qt5

Posted: 21 Mar 2018, 18:56
by jssouza
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.

Qt5

Posted: 22 Mar 2018, 05:56
by rych
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.

Qt5

Posted: 22 Mar 2018, 16:00
by jssouza
Great! :good:

Qt5

Posted: 23 Mar 2018, 05:36
by rych
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?

Qt5

Posted: 24 Mar 2018, 04:51
by rych
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

Qt5

Posted: 24 Mar 2018, 05:01
by Ed_P
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

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

Posted: 21 May 2018, 06:03
by rych
@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?