[PyKDE] Pyuic generating empty sources or How
phil at river-bank.demon.co.uk
Sun Sep 8 23:43:02 BST 2002
> Hi all,
> I will bother you because I have this problem:
> I create a form in the qt designer and then
> use pyuic to create the python code and it is empty.
> Only the test code is genereated ( plus comments ) if
> I use -x switch. :
> # Form implementation generated from reading ui file 'form2.ui'
> # Created: Sun Sep 8 17:02:08 2002
> # by: The Python User Interface Compiler (pyuic)
> # WARNING! All changes made in this file will be lost!
> import sys
> from qt import *
> if __name__ == '__main__':
> a = QApplication(sys.argv)
> w = Form2()
> Here is some data about my system :
> pyqt version: 2.5-4
> Python version:
> f at godzuky:~/WorkShop/Devel/python/test/test1_designer$ python -V
> Python 2.1.3
> I found this mail in the list but no answer to it.
> I am new to python and more to pyqt so maybe I am missing something.
> Could someone point me to the right place to read or thing to do, I'll
> be extremely gratefull.
> Thanks in advance, any further data you need, post to me and I'll will
That version of PyQt is over a year old.
Can you send me the .ui file. What version of Qt are you using?
More information about the PyQt