PyQt - view code

721 views
Skip to first unread message

Sayth Renshaw

unread,
Feb 18, 2013, 7:19:37 PM2/18/13
to portabl...@googlegroups.com
Using portable python 2.7.3.2.

New to PyQT I opened the designer and was playing with buttons and chose from the menu view -> code

I get an error

Unable to launch E:/Portable Python 2.7.3.2/App/lib/site-packages/PyQT4\uic

Should I be getting this error is there something I need to do?

Sayth

Perica Zivkovic

unread,
May 12, 2013, 7:00:42 AM5/12/13
to portabl...@googlegroups.com
There is nothing you can do about this, it is old and known issue around QT designer


you should generate your .py code from command line like this:

[from Portable Python root folder] App\python.exe App\Lib\site-packages\PyQt4\uic\pyuic.py test.ui > test.py

replace test.ui and test.py with the filenames you need.

keep pythoning !
Reply all
Reply to author
Forward
0 new messages