[SOLVED] unable to full compile PyQt5_gpl-5.9.2 on -current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
unable to full compile PyQt5_gpl-5.9.2 on -current
been trying to get PyQt5 5.9.2 compiled and packaged for my system running -current using the build scripts from both SBo and from ponce's fork, but it keeps crapping out with the following
Code:
Generating the C++ source for the QtCore module...
/usr/bin/sip -w -x VendorID -t WS_X11 -t Qt_5_13_2 -x Py_v3 -f -B Qt_6_0_0 -P -o -c /tmp/SBo/PyQt5_gpl-5.9.2/QtCore -I sip -I /tmp/SBo/PyQt5_gpl-5.9.2/sip /tmp/SBo/PyQt5_gpl-5.9.2/sip/QtCore/QtCoremod.sip
sip: Deprecation warning: the -B flag is deprecated
Error: Unable to create the C++ code.
from my understanding, the requirements for PyQt5 seem to only be enum where sip and qt5-webkit is already part of -current. anyone able to get this going on their end and have any advice?
You should not be trying to compile/install this ancient version of PyQt5.
You'll have to recompile sip first, so that it picks up Qt5. Then grab the latest PYQt5 source and build it. Scripts can be found on my 'ktown' repository for KDE Plasma5: https://slackware.nl/alien-kde/source/latest/deps/
thanks all, I was able to get the latest version of PyQt5 installed! I had neglected to check what the latest version was and was simply going by what was given at SBo...
definitely out of scope, however now this looks to have created another issue in that the program I was originally attempting to install (Anki) looks to require the older version due to PyQt5.QtWebEngineWidgets being removed/replaced from my limited understanding of PyQt5.
{~}$ anki
Traceback (most recent call last):
File "/usr/X11R6/bin/anki", line 6, in <module>
import aqt
File "/usr/share/anki/aqt/__init__.py", line 14, in <module>
from aqt.qt import *
File "/usr/share/anki/aqt/qt.py", line 17, in <module>
from PyQt5.QtWebEngineWidgets import *
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.