Package Details: python-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 3.x bindings for the Qt toolkit
Upstream URL: https://riverbankcomputing.com/software/pyqt/intro
Licenses: GPL
Conflicts: pyqt
Provides: pyqt
Replaces: 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)

Latest Comments

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

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):

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 (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

inemum commented on 2018-12-14 02:15 (UTC)

Here are a couple of PKGBUILDs for the sip module: https://gitlab.com/inemum/inemum_archlinux/raw/master/python-sip-pyqt4/PKGBUILD and https://gitlab.com/inemum/inemum_archlinux/raw/master/python2-sip-pyqt4/PKGBUILD

0strodamus commented on 2018-12-14 01:09 (UTC)

@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.