[PyQt] Segfault when creating adding text to a QPainterPath

Ricard Marxer rmarxer at iua.upf.edu
Wed Jul 11 19:18:17 BST 2007

Hi list,

Could you help me out here?  Am I doing something wrong?

Python 2.5.1 (r251:54863, May  2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4.QtCore import *
>>> from PyQt4.QtGui import *
>>> qVersion()
>>> p = QPainterPath()
>>> p.addText(QPointF(0,0),QFont('Times',10),QString('a'))
Segmentation fault (core dumped)


More information about the PyQt mailing list