[PyQt] Issue Building Latest Snapshot
Aron Bierbaum
aronbierbaum at gmail.com
Thu Apr 23 23:24:42 BST 2009
If I configure PyQt with the following settings, keep in mind sip is
not installed in default system Python location. I get the error shown
below.
C:\p5\p5_deps\pyqt\vendor_base\win32>python configure.py
--bindir=C:\p5\p5_deps\pyqt\install_win32_vc90\bin
--destdir=C:\p5\p5_deps\pyqt\install_win32_vc90\lib\python2.6\site-packages
--sipdir=C:\p5\p5_deps\pyqt\install_win32_vc90\share --confirm-license
--verbose --vendorid
--vendorid-incdir=C:\p5\p5_deps\vendorid\install_win32_vc90\include
--vendorid-libdir=C:\p5\p5_deps\vendorid\install_win32_vc90\Lib
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GL -GR -EHsc -W3 -w34100
-w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"c:\Qt\4.5.0\include\QtCore" -I"c:\Qt\4.5.0\include\QtGui"
-I"c:\Qt\4.5.0\include" -I"c:\Python26\include" -I"..\..\QtCore"
-I"c:\Qt\4.5.0\include\ActiveQt" -I"release" -I"."
-I"c:\Qt\4.5.0\mkspecs\default" -Forelease\
@C:\DOCUME~1\ARONB~1.PRI\LOCALS~1\Temp\nm5C.tmp qpycore_chimera.cpp
..\..\QtCore\sipAPIQtCore.h(43) : fatal error C1083: Cannot open
include file: 'sip.h': No such file or directory
qpycore_chimera_signature.cpp
..\..\QtCore\sipAPIQtCore.h(43) : fatal error C1083: Cannot open
include file: 'sip.h': No such file or directory
qpycore_chimera_storage.cpp
If I manually modify the qpy\QtCore\Makefile.Release file to list the
sip include directory it compiles correctly.
INCPATH = -I"c:\Qt\4.5.0\include\QtCore"
-I"c:\Qt\4.5.0\include\QtGui" -I"c:\Qt\4.5.0\include"
-I"c:\Python26\include" -I"..\..\QtCore"
-I"c:\Qt\4.5.0\include\ActiveQt" -I"release" -I"."
-I"c:\Qt\4.5.0\mkspecs\default"
-I"C:\p5\p5_deps\sip\install_win32_vc90\include\python2.6"
Any ideas what could be going wrong? Is there something that I am
configuring incorrectly? Maybe I built sip incorrectly?
Thanks,
Aron
On Thu, Apr 23, 2009 at 4:32 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Thu, 23 Apr 2009 15:50:55 -0500, Aron Bierbaum <aronbierbaum at gmail.com>
> wrote:
>> While trying to build the latest snapshot I had to manually add the
>> include directory for sip in the Makefile before I could compile
>> qpycore. Am I missing a command line flag, or is there something that
>> needs to be added/changed to the .pro file to know where sip is
>> located?
>
> Nothing's changed in the build system for weeks, if not months.
>
> Phil
>
More information about the PyQt
mailing list