[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] A bug confirmed
From: Dave S <eric3 () pusspaws ! net>
Date: 2006-09-29 15:35:47
Message-ID: 200609291635.47397.eric3 () pusspaws ! net
[Download RAW message or body]
On Friday 29 September 2006 12:50, David Boddie wrote:
> On Fri Sep 29 13:22:40 MEST 2006, Dave S wrote:
> > Start QT4 designer - create a new form type 'main window'
> >
> > put a push button on it :)
> >
> > save it
> >
> > pyuic it ...
> >
> > Try to call it with ...
>
> [Code snipped]
>
> > and you get a 'setCentralWidget' error.
> >
> > QT v4.1.4; PyQt v4.0.1; and Python v2.4.3
>
> This is related to your other message. You need to run pyuic4 instead of
> pyuic. If pyuic4 didn't get installed then that's a bug with the build
> system. pyuic is for PyQt applications that use Qt 3.
>
I downloaded PyQt-win-gpl-4.0.1.zip and PyQt-x11-gpl-4.0.1.tar.gz, unzipped
them both and found only pyuic inside of them and neither had a pyuic4.
Looking at the pyuic code it starts with ...
#!/usr/bin/env python
import sys
import optparse
import logging
from PyQt4 import QtCore, uic
Version = "Python User Interface Compiler %s for Qt version %s" %
(QtCore.PYQT_VERSION_STR, QtCore.QT_VERSION_STR)
so it is using PyQt4 - so I it must be in effect 'pyuic4'. Unfortunately my
problem remains
Dave
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic