[PyKDE] PyQt4 windows /mingw

Phil Thompson phil at riverbankcomputing.co.uk
Thu Apr 27 14:14:39 BST 2006


On Wednesday 26 April 2006 10:17 pm, Emanuele Santos wrote:
> Hi Phil
> I'm using the latest snapshot of PyQt4 and it seems that the
> installation is broken on window with mingw.
> I think mingw32-make doesn't work correctly with the Makefile:
>
> Determining the layout of your Qt installation...
> C:\Qt\4.1.1\bin\qmake.exe -o qtdirs.mk qtdirs.pro
> mingw32-make -f qtdirs.mk
> mingw32-make -f qtdirs.mk.Debug
> mingw32-make[1]: Entering directory `C:/PyQt4-gpl-snapshot-20060424'
> g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -
> DQT_LARGEFILE_SUPPORT -DQT_DLL
>   -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"C:/Qt/4.1.1/include/QtCore" -
> I"C:/Qt/4.1.1
> /include" -I"C:/Qt/4.1.1/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/
> 4.1.1/mkspec
> s/default" -o debug\qtdirs.o qtdirs.cpp
> g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-
> enable-runt
> ime-pseudo-reloc -Wl,-subsystem,windows -o "debug\qtdirs.exe" debug
> \qtdirs.o  -L
> "C:\Qt\4.1.1\lib" -lmingw32 -lqtmaind -lQtCored4
> mingw32-make[1]: Leaving directory `C:/Documents and Settings/csilva/
> PyQt4-gpl-s
> napshot-20060424/PyQt4-gpl-snapshot-20060424'
> Error: Failed to create release\qtdirs.exe. Make sure you have a
> working Qt v4
> qmake on your PATH or use the -q argument to explicitly specify a
> working Qt v4
> qmake.
>
>
> I fixed the problem running mingw32-make -f qtdirs.mk.Release myself
> and commenting the line that removes the file in configure.py.

Works for me with Qt v4.1.2.

Phil




More information about the PyQt mailing list