[PyKDE] pyqt4 and qt4 error
Torsten Marek
shlomme at gmx.net
Tue Jun 6 19:54:01 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chakkaradeep C C wrote:
> Hi all,
>
> i have installed qt4 and pyqt4. Am trying to generate python file from ui
> file by pyuic4 command.But i get this error :(
>
> ****************************************************************************************************
>
> chaks at Yoper ~/YIS $ pyuic4 -d -o YoperInstaller.py yisgui.ui
> DEBUG:root:UI version is 3.3
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/PyQt4/uic/pyuic.py", line 65, in ?
> error = generateUi(args[1], options.output, options.execute,
> options.indent)
> File "/usr/lib/python2.4/site-packages/PyQt4/uic/pyuic.py", line 28, in
> generateUi
> uic.compileUi(uifname, pyfile, execute, indent)
> File "/usr/lib/python2.4/site-packages/PyQt4/uic/__init__.py", line 54, in
> compileUi
> winfo = compiler.UICompiler().compileUi(uifile, pyfile)
> File "/usr/lib/python2.4/site-packages/PyQt4/uic/Compiler/compiler.py",
> line 66, in compileUi
> w = self.parse(input_stream)
> File "/usr/lib/python2.4/site-packages/PyQt4/uic/uiparser.py", line 438,
> in parse
> assert version in ("4.0",)
> AssertionError
> ****************************************************************************************************
>
>
> I have the qt4 library path in ld.so.conf also.
>
> i would be happy if someone could help me.
>
> thanks in advance.
>
Hi,
could you please post the UI file?
Could it be that you try to compile a UI from Qt3? You can convert it using Qt
Designer. Unlike uic, pyuic4 does not support the old versions of the UI file
format.
best,
Torsten
- --
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEhc9JfMVFHqJEyFgRAlNkAKDHd0kTJDcRg/QXZwkgdNvHJuqMxACg0QHo
YpAxuoBVsK3Ck+99gjbVIFs=
=JJPQ
-----END PGP SIGNATURE-----
More information about the PyQt
mailing list