Re: [PyQt] Invalid Framebuffer operation in PyQt programs

2011-12-12 Thread Michka Popoff
Macports was an easy way for me to install all the packages I needed. (Numpy, scipy, matplotlib and so on ...) Never tried with the original PyQT package. So as it seems to be a macports related problem under Lion, i'll repost my question on the macports mailing list / bug tracker. Thanks for y

Re: [PyQt] Internationalisation

2011-12-12 Thread Phil Thompson
On Mon, 12 Dec 2011 16:50:25 +, Jeremy Sanders wrote: > Hi - are most people using gettext or Qt for their internationalisation? > > I played with pylupdate, but it doesn't always find the strings. For > instance I can't do something like > > def mytr(text): > return QApplication.translat

[PyQt] Internationalisation

2011-12-12 Thread Jeremy Sanders
Hi - are most people using gettext or Qt for their internationalisation? I played with pylupdate, but it doesn't always find the strings. For instance I can't do something like def mytr(text): return QApplication.translate("myclass", text) class myclass: def __init__(self): foo = my