about SIP,PyQt4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

about SIP,PyQt4

li somic
Hello,everyone
 
I build QGIS follow to "Installation Notes for Quantum GIS (QGIS) on windows" of Tim Sutton,
I Check out sources from SVN:https://svn.qgis.org/repos/qgis/trunk/qgis,
I used windows2003,cmake,msys,qt4.3 build qgis.
 
I am trouble in compile SIP and PyQt.
 
When I compile SIP-4.6 ,I find information follow underside:
C:\sip>make
makefile:29: warning: overriding commands for target `.c.o'
makefile:26: warning: ignoring old commands for target `.c.o'
 
When I compile PyQt-win-gpl-4.2, I find information follow underside:
c:\PyQt-win-gpl-4.2>python configure.py
Determining the layout of your Qt installation...
Error:C:\Qt]4.3.0\mkspecs\win32-g++\qmake.conf: macro 'QMAKE_CFLAGS_THREAD' is not defined.
 
But I install Qt4.3.0 , I follow to "INSTALL" file of https://svn.qgis.org/repos/qgis/trunk/qgis/,
When the installer will ask for MinGW,just point the installer to c:\msys\mingw
 
My Qt4.3.0 is ok ,why I cann't compile PyQt?
 
I try run PyQt-gpl-4.2-Py2.5-Qt4.2.3.exe, and I can install PyQt,But I compile QGIS0.9,I find the information follow underside:
[ 61%] Generating qgis_pl_PL.qm
Updating 'C:/dev/cpp/qgis/build/i18n/qgis_pl_PL.qm'...
Generated 1620 translations (1542 finished and 78 unfinished)
Ignored 737 untranslated source texts
[ 65%] Built target translations
[ 65%] Generating core/Makefile, gui/Makefile
Traceback (most recent call last):
   File "C:/dev/cpp/qgis/build/python/configure.py", line 5, in <module>
      import PyQt4.pyqtconfig
ImportError: No module named pyqtconfig
mingw32-make[2]: *** [python/core/Makefile] Error 1
mingw32-make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
mingw32-make: *** [all] Error 2
 
Would you like to help me?
 
Li somic

_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user