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

Martin Blais blais at furius.ca
Wed Jul 11 22:00:31 BST 2007


(More info.)

If I continue, with my previous kludge of copying the contents of
C:\Qt\4.3.0 to C:\iwmake\build_mingw_opensource, it still does not
build::

  C:\tmp\PyQt-win-gpl-4-snapshot-20070710>C:/Python25/python
configure.py -w -q C:\Qt\4.3.0\qmake\qmake.exe
  Determining the layout of your Qt installation...
  C:\Qt\4.3.0\qmake\qmake.exe -o qtdirs.mk qtdirs.pro
  mingw32-make -f qtdirs.mk release
  mingw32-make -f qtdirs.mk.Release
  mingw32-make[1]: Entering directory `C:/tmp/PyQt-win-gpl-4-snapshot-20070710'
  g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB
-DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-I"..\..\iwmake\build_mingw_opensource\include
  \QtCore" -I"..\..\iwmake\build_mingw_opensource\include\QtCore"
-I"..\..\iwmake\build_mingw_opensource\include"
-I"..\..\iwmake\build_mingw_opensource\include\ActiveQt" -I"release"
-I"." -I"..\..\Qt\4
  .3.0\mkspecs\win32-g++" -o release\qtdirs.o qtdirs.cpp
  g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl
-Wl,-subsystem,windows -o "release\qtdirs.exe" release\qtdirs.o
-L"c:\iwmake\build_mingw_openso
  urce\lib" -lmingw32 -lqtmain -lQtCore4
  mingw32-make[1]: Leaving directory `C:/tmp/PyQt-win-gpl-4-snapshot-20070710'
  release\qtdirs.exe
  Error: Unable to find the qmake configuration file
  C:\Qt\4.2.2\mkspecs\win32-g++\qmake.conf. Use the QMAKESPEC environment
  variable to specify the correct platform.



(Note the 4.2.2)


More information about the PyQt mailing list