Package Base Details: pyqt4

Git Clone URL: (read-only, click to copy)
Submitter: arojas
Maintainer: LaughingMan
Last Packager: LaughingMan
Votes: 20
Popularity: 1.01
First Submitted: 2018-08-24 08:49
Last Updated: 2021-01-25 01:26

Latest Comments

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

ColonelThirtyTwo commented on 2019-02-14 03:33

Getting an error when I try to build this using G++ 8.2.1 (latest arch version):

g++ -c -pipe -fno-exceptions -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I/usr/include/python3.7m -I../qpy/QtCore -I. -o sipQtCoreQAbstractTransition.o sipQtCoreQAbstractTransition.cpp
/home/col/.cache/pikaur/build/pyqt4/src/PyQt4_gpl_x11-4.12.3/QtCore/sipQtCoreQAbstractTransition.cpp:812:1: error: cannot convert ‘std::nullptr_t’ to ‘int’ in initialization

make[1]: *** [Makefile:698: sipQtCoreQAbstractTransition.o] Error 1
make[1]: Leaving directory '/home/col/.cache/pikaur/build/pyqt4/src/PyQt4_gpl_x11-4.12.3/QtCore'
make: *** [Makefile:60: sub-QtCore-make_default-ordered] Error 2

chrisjbillington commented on 2019-01-30 23:42

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

For anyone that needs full newbie instructions on "How to install PKGBUILD file downloaded manually?", there are now some at

inemum commented on 2018-12-14 02:15

Here are a couple of PKGBUILDs for the sip module: and

0strodamus commented on 2018-12-14 01:09

@inemum: Thanks for the tip! I created a sip PKGBUILD as you suggested and was able to get everything working again with pyqt4-4.12.3.

fraze commented on 2018-12-13 20:30

Same error as Ostrodamus. Add puddletag to the list of broken packages that depend on python-pyqt4.

inemum commented on 2018-12-13 19:41

0strodamus: you can modify the sip PKGBUILD using the "--sip-module PyQt4.sip" option that you mentioned. I added a couple of extra packages (python-sip-pyqt4 and python2-sip-pyqt4) using the code for Qt5 as a basis and it seems to work fine on my system.

0strodamus commented on 2018-12-13 00:39

I'm seeing Import error "No module named sip" crashes in poptrayminus with 4.12.3. According to, "building PyQt4 v4.12.2 or later you must configure SIP to create a private copy of the sip module using a command line similar to the following: python --sip-module PyQt4.sip --no-dist-info --no-tools". I'm struggling to figure out how to get this to work and any help would be appreciated.

merlock commented on 2018-12-12 17:32

Not a show-stopper, but noticed that $CFLAGS or $CXXFLAGS are not honored in building.

buzo commented on 2018-12-12 16:20

Thanks for the hint! I have removed that dependency now.