[PyQt] Problems building PyQt snapshot on Win32 with MinGW -- all details included

Giovanni Bajo rasky at develer.com
Thu Jul 12 01:25:53 BST 2007


On 12/07/2007 1.45, Martin Blais wrote:

> I created a page with all the details on how to build PyQt4 for Windows, 
> here:
> http://www.diotavelli.net/PyQtWiki/BuildPyQt4Windows

And I propose the attached patch, which clarifies the error messages 
(especially the message displayed when the first "make" compilation fails) and 
disable "-q" under Windows (where it does not work anyway).

Sample session with the patch:

[E:\pyqt\PyQt-win-gpl-4-snapshot-20070710]configure.py
Determining the layout of your Qt installation...
Error: Make sure you have a working Qt v4 qmake on your PATH

[E:\pyqt\PyQt-win-gpl-4-snapshot-20070710]set PATH=e:\Qt\4.3.0\bin\;%PATH%

[E:\pyqt\PyQt-win-gpl-4-snapshot-20070710]configure.py
Determining the layout of your Qt installation...
Error: Failed to create release\qtdirs.exe (using platform: win32-msvc.net).
Make sure your compiler is installed correctly and you have a working "nmake"
on your PATH

[E:\pyqt\PyQt-win-gpl-4-snapshot-20070710]vc71
"C:\Programmi\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat"
Setting environment for using Microsoft Visual Studio .NET 2003 tools.
(If you have another version of Visual Studio or Visual C++ installed and wish
to use its tools from the command line, run vcvars32.bat for that version.)

[E:\pyqt\PyQt-win-gpl-4-snapshot-20070710]configure.py
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4-snapshot-20070710 (licensed under the GNU
General Public License) for Python 2.4.2 on win32.
[
...
...
...
...
]

-- 
Giovanni Bajo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.better-error-messages.patch
Type: text/x-diff
Size: 3199 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070712/d09ec7e5/configure.better-error-messages.bin


More information about the PyQt mailing list