Search Criteria
Package Details: python2-pyqt4 4.12.3-7
Package Actions
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: | 2025-01-07 12:14 (UTC) |
Dependencies (10)
- pyqt4-commonAUR
- python2-dbusAUR
- python2-sip-pyqt4AUR
- mesa (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-amber) (make)
- python2AUR (python2-binAUR) (make)
- python2-dbusAUR (make)
- python2-openglAUR (make)
- python2-sip-pyqt4AUR (make)
- sip4AUR (sip4AUR) (make)
- python2-openglAUR (optional) – enable OpenGL 3D graphics in PyQt applications
Required by (4)
- armory
- git-etc (optional)
- mtvcgui
- putusb-git (optional)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 Next › Last »
alexei commented on 2019-02-18 19:33 (UTC) (edited on 2019-02-18 20:14 (UTC) by alexei)
As a temporary workaround, add this after both configure commands in the PKGBUILD:
Btw, you also must change python-sip/python2-sip dependencies to python-sip-pyqt4/python2-sip-pyqt4, otherwise PyQt will build but the module won't work: import will fail with 'sip' not find, and if you import the default sip, you'll get errors like QtGui.QWidget no attrivute QWidget in QtGui.
Also, you must update python-sip-pyqt4/python2-sip-pyqt4 to 4.19.14 by bumping the version and URL in the PKGBUILD to https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.14.tar.gz . Otherwise, 'from PyQt4 import QtGui' will fail with need API v12.6 but sip provides only v12.5.
UPDATE: Also, be careful with versions of sip and python-sip-pyqt packages, it's easy to end up with different versions if you're not careful, and that's probably not good. I ended up simply adding the python-sip-pyqt4 packages to the sip source package PKGBUILD, which already has the python-sip-pyqt5; and uninstalled all sip packages from the system before building and installing the package set from the modified sip PKGBUILD. That way, all sip packages are of the same version. This does not address the underlying issue, though that PyQt4 does not build with latest sip 4.19.14.
UPDATE2: reported to PyQt4: http://python.6.x6.nabble.com/PyQt4-compilation-error-with-sip-4-19-14-convert-std-nullptr-t-to-int-in-initialization-td5248504.html
tchakatak commented on 2019-02-17 10:35 (UTC)
@kingkingmax > Can you detail more your solution? I am having the same issue.
kingkingmax commented on 2019-02-16 03:35 (UTC)
@ColonelThirtyTwo @sfaunl I found the issue is at sip.h Even compilier is new version, it doesn't work very well for following:
if __cplusplus >= 201103L || defined(_MSVC_LANG)
========================= / C++11 and later. /
define SIP_NULLPTR nullptr
define SIP_OVERRIDE override
else
/ Earlier versions of C++. /
define SIP_NULLPTR 0
define SIP_OVERRIDE
endif
============= I changed C++11 part as earlier version of C++. It works.
sfaunl commented on 2019-02-15 23:54 (UTC)
@ColonelThirtyTwo I'm getting same error. Downgrading gcc did not solve the problem.
ColonelThirtyTwo commented on 2019-02-14 03:33 (UTC) (edited on 2019-02-14 03:33 (UTC) by ColonelThirtyTwo)
Getting an error when I try to build this using G++ 8.2.1 (latest arch version):
chrisjbillington commented on 2019-01-30 23:42 (UTC) (edited on 2019-01-30 23:43 (UTC) by chrisjbillington)
There is now an AUR package for the missing sip module, such that these packages should depend on python2-sip-pyqt4/python-sip-pyqt4. Alternately this package could be modified to include the sip module, if the maintainer has interest.
daviding commented on 2018-12-31 03:23 (UTC)
For anyone that needs full newbie instructions on "How to install PKGBUILD file downloaded manually?", there are now some at https://forum.manjaro.org/t/how-to-install-pkgbuild-file-downloaded-manually/69365
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 Next › Last »