Python-Qt problem with pyuic4

X

Xavier Lapointe

Hello,

Let's suppose you're on Windows.

If pyuic4 can't be found, you can specified the direct path:
C:\Python26\pyuic4.bat -o Drive:\your\Path\ui_myGUI.py -x
Drive:\your\Path\myGUI.ui
You might need to replace the Python26 with your own version if it
differs...

Cheers
 
I

ici

Hello,

Let's suppose you're on Windows.

If pyuic4 can't be found, you can specified the direct path:
C:\Python26\pyuic4.bat -o Drive:\your\Path\ui_myGUI.py -x
Drive:\your\Path\myGUI.ui
You might need to replace the Python26 with your own version if it
differs...

Cheers

Part of one of my projects: build_ui.cmd
Code:
SET PYUIC4="c:\Python25\Lib\site-packages\PyQt4\pyuic4.bat"
SET PYRCC4="c:\Python25\Lib\site-packages\PyQt4\pyrcc4.exe"

C:
CD "C:\Projects\python\PyQT\MmicLogs\gui"

CALL %PYUIC4% -x -d -o main_ui.py ui\main.ui
CALL %PYUIC4% -x -d -o document_ui.py ui\document.ui
CALL %PYUIC4% -x -d -o pnadata_ui.py ui\pnadata.ui

%PYRCC4% -o main_rc.py ui\main.qrc

@PAUSE
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top