[PyKDE] Run-time error (Must construct a QApplication before a
apaku at gmx.de
Sat Apr 22 22:42:51 BST 2006
On 22.04.06 09:00:00, Adam Tenderholt wrote:
> > Did you try to compile PyQt statically too? Did you explicitly specify
> > the type of Qt lib (i.e. python configure.py -y qt)?
> I think I did, but then I realized that compiling it statically was
> for when you what to compile it directly into the python interpreter.
Not into the python interpreter, but I think PyQt is linked statically
to Qt in that case, i.e. the full Qt lib is included in the .so's for
PyQt. I think this is needed when you have a statically linked Qt, but I
might be wrong on that (not a library guru).
> Perhaps I'm mistaken? I also didn't explicitly specify the type of Qt
> lib because it seemed to pick up the correct version.
If qmake is in the path or QTDIR is set it does pick up that version.
If your life was a horse, you'd have to shoot it.
More information about the PyQt