Article 56VY0 [SOLVED] python-poppler-qt5

[SOLVED] python-poppler-qt5

by
garpu
from LinuxQuestions.org on (#56VY0)
So I'm trying to build python-poppler-qt5 on slackware current. (Frescobaldi 3 needs this for PDF viewing.)

python-poppler-qt5: https://github.com/frescobaldi/python-poppler-qt5

Original slackbuild: https://github.com/Ponce/slackbuilds...on-poppler-qt4

I've adapted the python-poppler-qt5 slackbuild, but during the build phase I'm getting:

Code:Unsupported Qt version (4.8.7). Try specifying the path to qmake manually via --qmake-bin=So then I change the build parameter in the slackbuild to:

Code:python setup.py build --qmake-bin=/usr/lib64/qt5/bin/Which results in:

Code:error: option --qmake-bin not recognizedI then went directly to the python-poppler-qt5 source and edited the line in setup.py to be:

Code: user_options = build_ext_base.user_options + [
('poppler-version=', None, "version of the poppler library"),
('qmake-bin=', '/usr/lib64/qt5/bin/', "Path to qmake binary"),
('sip-bin=', None, "Path to sip binary"),
('qt-include-dir=', None, "Path to Qt headers"),
('pyqt-sip-dir=', None, "Path to PyQt's SIP files"),
('pyqt-sip-flags=', None, "SIP flags used to generate PyQt bindings")
]But it results in the same error. I've built OBS studio, so I know qt5 is installed and able to be built against. Help?latest?d=yIl2AUoC8zA latest?i=LvfsNPZ2T3c:MuOKXaZzY7E:F7zBnMy latest?i=LvfsNPZ2T3c:MuOKXaZzY7E:V_sGLiP latest?d=qj6IDK7rITs latest?i=LvfsNPZ2T3c:MuOKXaZzY7E:gIN9vFwLvfsNPZ2T3c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments