[PyKDE] Seg fault in QSqlDatabase

Jonathan Gardner jgardner at jonathangardner.net
Tue Aug 24 04:56:33 BST 2004

I'm running the following Fedora packages from the kde-redhat project.

sip-4.0.1 0.fdr.0.2
PyQt-3.12 0.fdr.2.2
PyKDE-3.11.1 0.fdr.1.2

On Fedora Core 2:
qt-3.3.3 0.1 (From core)

Running this script:
from qt import *
from qtsql import *

import sys

a = QApplication(sys.argv)
d = QSqlDatabase.addDatabase("QPSQL7")

causes a seg fault. 

Fedora Core 2 uses PyQt 3.11 and sip 3.10.1 with the qt above also segfaults.

Is the program wrong? Do I need a different version of Qt?

Jonathan Gardner
jgardner at jonathangardner.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040824/8a8f2cc7/attachment.bin

More information about the PyQt mailing list