[PyQt] dynamic module

Lucas Hazel lucas at die.net.au
Sat Sep 19 04:10:45 BST 2009


I've just upgraded to SIP 4.8.2 and PyQt 4.5.2

However, now I get:

from PyQt4 import QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define init function (initQtCore)

Any ideas?

I don't have any special C(XX)FLAGS, just "-02 -march=x86-64"

# Build script for sip
name=sip
version=4.8.2
release=1
source=(http://www.riverbankcomputing.co.uk/static/Downloads/${name}4/$name-$version.tar.gz)
build() {
        cd $name-$version
        python configure.py
        make
        make DESTDIR=$PKG install
}

# Build script for pyqt
name=pyqt
version=4.5.4
release=1
source=(http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-
gpl-$version.tar.gz)
build() {
    cd PyQt-x11-gpl-$version
    python configure.py --confirm-license
    make
    make DESTDIR=$PKG install
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090919/16cdcd19/attachment-0001.bin


More information about the PyQt mailing list