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
Post Reply
rych
Samurai
Samurai
Posts: 123
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 4.0 64 LXDE
Location: NZ

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
DEV Team
DEV Team
Posts: 668
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Qt5

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

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

User avatar
n0ctilucient
Shogun
Shogun
Posts: 438
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Qt5

Post#3 by n0ctilucient » 20 Mar 2018, 14:18

Use Slakfinder to download deps...
@... http://slakfinder.org/index.php?act=sea ... e=#results

Use Depfinder to locate deps...
@... http://depfinder.sourceforge.net/

Depfinder (using depfinder -a -j2 -p -s "nameofpackage") indicates no additional Qt5 deps.

PlsNote: ...you will need to use the USM or a file
manager "right click" to convert Depfinder txz2xzm.

For best results w/ Depfinder you need the following (if not already installed)...
http://slakfinder.org/show.php?pkg=924675
http://slakfinder.org/show.php?pkg=924692
http://slakfinder.org/show.php?pkg=924547

You can find a recent Qt5 package @...
http://slakfinder.org/show.php?pkg=907671
Last edited by n0ctilucient on 21 Mar 2018, 14:31, edited 2 times in total.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

rych
Samurai
Samurai
Posts: 123
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 4.0 64 LXDE
Location: NZ

Qt5

Post#4 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.

User avatar
n0ctilucient
Shogun
Shogun
Posts: 438
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Qt5

Post#5 by n0ctilucient » 21 Mar 2018, 14:05

Thank you... :good:

Nowadays... I only use the USM when I'm in a
rush (when I'm feeling lazy) for conveinence.

With that said... the depfinder/slakfinder "combo" is notwithstanding
infinitely more tedious. However... it's also infinitely more reliable.

By the way... perhaps this Lyx is more compatable w/ Qt5 v5.9.4 ("slackware" current)?
see... http://slakfinder.org/show.php?pkg=886125
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

jssouza
DEV Team
DEV Team
Posts: 668
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Qt5

Post#6 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
Samurai
Samurai
Posts: 123
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 4.0 64 LXDE
Location: NZ

Qt5

Post#7 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
DEV Team
DEV Team
Posts: 668
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Qt5

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

Great! :good:

rych
Samurai
Samurai
Posts: 123
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 4.0 64 LXDE
Location: NZ

Qt5

Post#9 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?

User avatar
n0ctilucient
Shogun
Shogun
Posts: 438
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Qt5

Post#10 by n0ctilucient » 23 Mar 2018, 14:21

Have you tried this one (it might be QT4)?
http://slakfinder.org/show.php?pkg=886190
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

rych
Samurai
Samurai
Posts: 123
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 4.0 64 LXDE
Location: NZ

Qt5

Post#11 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: 4197
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Qt5

Post#12 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
Samurai
Samurai
Posts: 123
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 4.0 64 LXDE
Location: NZ

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

Post#13 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