Portable Python 2.7.5.1 --> "pyuic.py HelloWorld.ui" > HelloWorld.py

205 views
Skip to first unread message

John Johnson

unread,
Apr 13, 2014, 9:37:22 PM4/13/14
to portabl...@googlegroups.com

Hello, newbie here

I have done a simple application in Qt Designer and called it.... "HelloWorld.ui"

To generate the py code I typed, in the Python shell, the following

"App\python.exe App\Lib\site-packages\PyQt4\uic\pyuic.py HelloWorld.ui" > HelloWorld.py

But I got this error

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    "App\python.exe App\Lib\site-packages\PyQt4\uic\pyuic.py HelloWorld.ui" > HelloWorld.py
NameError: name 'HelloWorld' is not defined

Can anyone tell me what I'm doing wrong?

Thanks




Reply all
Reply to author
Forward
0 new messages