Package Details: python2-pyqt4 4.12.3-6

Git Clone URL: https://aur.archlinux.org/pyqt4.git (read-only, click to copy)
Package Base: pyqt4
Description: A set of Python 2.x bindings for the Qt toolkit
Upstream URL: https://riverbankcomputing.com/software/pyqt/intro
Licenses: GPL
Conflicts: python2-pyqt
Provides: python2-pyqt
Replaces: python2-pyqt
Submitter: arojas
Maintainer: LaughingMan
Last Packager: LaughingMan
Votes: 20
Popularity: 0.000000
First Submitted: 2018-08-24 08:49 (UTC)
Last Updated: 2023-05-11 01:50 (UTC)

Dependencies (13)

Required by (5)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

zorki commented on 2019-10-02 02:48 (UTC)

Having the same error.

Attius_Sullivan commented on 2019-09-26 11:28 (UTC)

@0003c9fe I've got the same problem here (arch, linux-lts kernel)

0003c9fe commented on 2019-09-20 17:16 (UTC)

I'm getting the same error as others had before, but the fix for that seemed to be changing the PKGBUILD, which seems to have been corrected since then, so I'm not sure why it isn't working.

Qt v4.8.7 (Open Source) is being used.
Qt is built as a shared library.
SIP 4.19.19 is being used.
The sip executable is /usr/bin/sip.
These PyQt4 modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
QtNetwork, QtDeclarative, QtScript, QtScriptTools, QtOpenGL, QtSql, QtSvg,
QtTest, QtXml, QtXmlPatterns, phonon, QtDesigner, QtDBus.
The PyQt4 Python package will be installed in /usr/lib/python3.7/site-packages.
PyQt4 is being built with generated docstrings.
PyQt4 is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in /usr/lib/qt4/plugins/designer.
The QScintilla API file will be installed in /usr/share/qt4/qsci/api/python.
The PyQt4 PEP 484 stub files will be installed in
/usr/lib/python3.7/site-packages/PyQt4.
The dbus support module will be installed in
/usr/lib/python3.7/site-packages/dbus/mainloop.
pyuic4, pyrcc4 and pylupdate4 will be installed in /usr/bin.
The interpreter used by pyuic4 is /usr/bin/python.
Generating the C++ source for the QtCore module...
Error: Unable to create the C++ code.
==> ERROR: A failure occurred in build().
    Aborting...

Tio commented on 2019-06-19 11:28 (UTC)

I apologize. Thank you!

buzo commented on 2019-06-19 08:53 (UTC)

Tio: Wrong package, this is not python-sip-pyqt4 – and wrong distribution, this is Arch Linux.

But besides, none of these pyqt4-packages has any dependency to xorg-server-utils or cin-bin. Please seek help from the Manjaro team.

Tio commented on 2019-06-19 07:07 (UTC)

Error on Manjaro Gnome:

Cloning python-sip-pyqt4 build files...
Checking python-sip-pyqt4 dependencies...
Warning: cannot resolve "xorg-server-utils", a dependency of "cin-bin"
Failed to prepare transaction.
Failed to prepare transaction:
could not satisfy dependencies:
unable to satisfy dependency 'xorg-server-utils' required by cin-bin

buzo commented on 2019-04-02 16:30 (UTC)

The build should be fixed now.

alexei commented on 2019-03-28 01:14 (UTC)

@DarkSun: use the latest python-sip-pyqt4 4.19.15, do not downgrade it.

There are two remaining problems with this python-pyqt4 package:

  1. This package PKGBUILD must be changed to python-sip-pyqt4 and python2-sip-pyqt4 instead of python-sip and python2-sip, because the latter do not build the necessary PyQt4 module, so if you do not have the former installed, you will get:

    AttributeError: 'module' object has no attribute 'QWidget'

@buzo, can you change the dependencies here?

  1. For Python 2, python2-sip-pyqt4 is out-of-date (4.19.13) so its PKGBUILD must be edited manually to update to 4.19.15. Really, python2-sip-pyqt4 should be deleted and python-sip-pyqt4 should be a merged package that builds for both python 2 and 3.

DarkSun commented on 2019-03-27 22:24 (UTC)

@alexei python-sip-pyqt4 is updated to 4.19.15, Is it still neccesary to change the python-sip-pyqt4's version to 4.19.14?