[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?


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?