Python-Qt problem with pyuic4

ici iltchevi at
Thu Sep 24 07:15:52 CEST 2009

On Sep 24, 4:45 am, Xavier Lapointe <xl.mailingl... at> wrote:
> 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\ -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
SET PYUIC4="c:\Python25\Lib\site-packages\PyQt4\pyuic4.bat"
SET PYRCC4="c:\Python25\Lib\site-packages\PyQt4\pyrcc4.exe"

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

CALL %PYUIC4% -x -d -o ui\main.ui
CALL %PYUIC4% -x -d -o ui\document.ui
CALL %PYUIC4% -x -d -o ui\pnadata.ui

%PYRCC4% -o ui\main.qrc


More information about the Python-list mailing list