LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Qtsvg on Slackware? How does one compile this?? (https://www.linuxquestions.org/questions/slackware-14/qtsvg-on-slackware-how-does-one-compile-this-4175674902/)

business_kid 05-09-2020 08:28 AM

Qtsvg on Slackware? How does one compile this??
 
I'm trying the zoom linux stuff, and it is is segfaulting. This is the relevant debug output:
Code:

Zoom package arch is 64bit, runing OS arch is x86_64
error was 0
qt.svg: link image0 hasn't been detected!
qt.svg: :/images/wechat.svg:10:6: Could not resolve property: pattern0

It appears it lacks Qtsvg, which is a rendering package for svg images. Uptake among distros is very poor (= it doesn't exist!), but it's a requirement for this thing. Only Alpine(??) have it in .apk (=java?) format, and there was mention of one RH lib. Oh, there was one x86 option on pkgs.org.

I put a file tree On_Pastebin which shows 316 files in 73 directories, but no makefiles. The obvious difference between the git and a release is that the release doesn't even have the CmakeLists.txt. Now the git references QT6, which I take to be a commercial version, but the release, which doesn't have the Cmakelists.txt, only references QT5.

How do you compile this? Have any of our unofficial builders got it?

LuckyCyborg 05-09-2020 09:47 AM

Quote:

Originally Posted by business_kid (Post 6121094)
Now the git references QT6, which I take to be a commercial version, but the release, which doesn't have the Cmakelists.txt, only references QT5.

You are kidding, right? About what commercial Qt versions you talk? :D

The Qt6 is not released yet, even as alpha! From what I read, it will be released next year, in 2021.

Didier Spaier 05-09-2020 11:35 AM

If not done you could try the SlackBuild for zoom-linux available @ SBo.

business_kid 05-09-2020 11:51 AM

Quote:

Originally Posted by LuckyCyborg (Post 6121112)
You are kidding, right? About what commercial Qt versions you talk? :D

The Qt6 is not released yet, even as alpha! From what I read, it will be released next year, in 2021.

Sadly not.
Code:

bash-5.0$ cd qtsvg-dev/build
bash-5.0$ cmake -Dlibdir=/usr/lib64 ../
CMake Error at CMakeLists.txt:12 (find_package):
  Could not find a package configuration file provided by "Qt6" (requested
  version 6.0.0) with any of the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!

Last release was 5.15.0-rc1, which will probably become 5.15.0. Next release is QT6, which should be a compatibility break.
So it looks like Qt will be going out of their way to make things different.

But that can work both ways. Personally, I hope it backfires on them :-P

business_kid 05-09-2020 11:52 AM

Quote:

Originally Posted by Didier Spaier (Post 6121132)
If not done you could try the SlackBuild for zoom-linux available @ SBo.

SBo has something? Great. I got onto slackware.pkgs.org and could find nothing for Qtsvg.

EDIT: Actually, no it's not great. No Qtsvg. The slackbuild is just a repackaging job of their precompiled download, which I already have. The Slackbuild doesn't reference x86_64 but I have multilib, so that hardly matters. The download has moved to 64bit.

LuckyCyborg 05-09-2020 11:59 AM

Quote:

Originally Posted by business_kid (Post 6121139)
Sadly not.
Code:

bash-5.0$ cd qtsvg-dev/build
bash-5.0$ cmake -Dlibdir=/usr/lib64 ../
CMake Error at CMakeLists.txt:12 (find_package):
  Could not find a package configuration file provided by "Qt6" (requested
  version 6.0.0) with any of the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!


Let's put the things straight: there is no such thing like Qt6, neither commercial or open source. It doesn't exists. It just wasn't written yet.

So, looks like you mess with some source code in early pre-alpha state.

kermitdafrog8 05-09-2020 12:48 PM

Qtsvg on Slackware? How does one compile this??
 
If you pull Qt from Github it shows as Qt6.

ponce 05-09-2020 12:57 PM

zoom in its tarball ships also many qt5 libraries that conflict with eventual qt5 libraries already installed (at least here on slackware64-current): to have it working I had to switch to the directory where zoom is installed/unpacked and remove these files/directories
Code:

platform* qtdiag lib* Qt* audio generic iconengines imageformats doc xcbglintegrations
so that the binary uses the ones installed in the system (be sure to have qt5 -and his deps-, faac and quazip-qt5) and doesn't segfault.

business_kid 05-09-2020 01:34 PM

@ponce: Good to hear I can get out of it. What about Qtsvg? Have you got it or does the requirement go away?

business_kid 05-09-2020 01:46 PM

Quote:

Originally Posted by ponce (Post 6121162)
zoom in its tarball ships also many qt5 libraries that conflict with eventual qt5 libraries already installed (at least here on slackware64-current): to have it working I had to switch to the directory where zoom is installed/unpacked and remove these files/directories
Code:

platform* qtdiag lib* Qt* audio generic iconengines imageformats doc xcbglintegrations
so that the binary uses the ones installed in the system (be sure to have qt5 -and his deps-, faac and quazip-qt5) and doesn't segfault.

It doesn't actually segfault, but it throws me up an error "Will we send this error back to zoom or not that I can't give a middle finger to. Have you ever got into a zoom meeting by clicking on a link? Incidentally, congratulations on getting it working.

ponce 05-09-2020 02:02 PM

Quote:

Originally Posted by business_kid (Post 6121171)
@ponce: Good to hear I can get out of it. What about Qtsvg? Have you got it or does the requirement go away?

QtSvg and libQt5Svg are part of qt5-5.13.2 in current.
zoom ships in its tarball libQt5Svg.so.5.9.6 (and it doesn't work here).

business_kid 05-09-2020 03:01 PM

Quote:

Originally Posted by ponce (Post 6121189)
QtSvg and libQt5Svg are part of qt5-5.13.2 in current.
zoom ships in its tarball libQt5Svg.so.5.9.6 (and it doesn't work here).

Great. Problem solved. I don't need Qtsvg.
As for /opt/zoom/zoom, the relevant bit here is that I get the 'Zoom quit unexpectedly' here
Code:

AppIconMgr::systemDesktopName log Desktop Name: xfce
error was 0
qt.svg: :/images/wechat.svg:10:6: Could not resolve property: #pattern0

If I run it in debug, it still crashes. I have QtSvg and libQt5Svg, qt5-5.13.2 & PyQt5-13.2

kgha 05-10-2020 04:05 AM

Quote:

Originally Posted by ponce (Post 6121162)
zoom in its tarball ships also many qt5 libraries that conflict with eventual qt5 libraries already installed (at least here on slackware64-current): to have it working I had to switch to the directory where zoom is installed/unpacked and remove these files/directories
Code:

platform* qtdiag lib* Qt* audio generic iconengines imageformats doc xcbglintegrations
so that the binary uses the ones installed in the system (be sure to have qt5 -and his deps-, faac and quazip-qt5) and doesn't segfault.

Interesting - however, I (running -current 64 bit multilib) haven't encountered any conflicts between the official qt5-5.13.2 libraries and the qt5-5.9.6 stuff that ships with zoom-linux. I've noticed the different versions, but have assumed that since the zoom qt5 stuff ends up in /opt/zoom-linux they are distant enough.

business_kid 05-10-2020 09:30 AM

I'm going to put something together in a document and ask my brother (whose company will have an account) to forward it.

The way forward seems to be /opt/zoom/ZoomLauncher (giving the taskbar icon) and the plugin for organizing meetings. I've yet to try either on a real chat

ponce 05-10-2020 12:25 PM

Quote:

Originally Posted by ponce (Post 6121162)
zoom in its tarball ships also many qt5 libraries that conflict with eventual qt5 libraries already installed (at least here on slackware64-current): to have it working I had to switch to the directory where zoom is installed/unpacked and remove these files/directories
Code:

platform* qtdiag lib* Qt* audio generic iconengines imageformats doc xcbglintegrations
so that the binary uses the ones installed in the system (be sure to have qt5 -and his deps-, faac and quazip-qt5) and doesn't segfault.

just a little clarification: should be enough removing
Code:

libQt* Qt*
from the unpacked zoom directory.


All times are GMT -5. The time now is 10:28 AM.