[PyQt] Unable to statically build PyQtPurchasing

Dave Gradwell davegradwell at yahoo.co.uk
Tue Jan 31 21:14:06 GMT 2017


Hi,

I’m unable to statically build PyQtPurchasing_gpl-5.7.1.
I’ve followed the guide here: http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html#qt-purchasing <http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html#qt-purchasing>
And used the following 2 lines:
pyqtdeploycli --package pyqtpurchasing configure
then
python3 configure.py --qmake=/Users/Shared/Qt5.7.1/5.7/clang_64/bin/qmake --sip=/Users/Shared/pyqt/built/bin/sip --qtpurchasing-version=5.7.1 --static --sysroot=/Users/Shared/pyqt/built --no-sip-files --no-qsci-api --configuration=pyqtpurchasing-osx.cfg
Both seem to work, but when I ‘make’ I get the following error:

[……….]Qt5.7.1/5.7/clang_64/mkspecs/macx-clang -F/Users/Shared/Qt5.7.1/5.7/clang_64/lib -o sipQtPurchasingcmodule.o sipQtPurchasingcmodule.cpp
In file included from sipQtPurchasingcmodule.cpp:24:
./sipAPIQtPurchasing.h:31:10: fatal error: 'sip.h' file not found
#include <sip.h>
         ^
1 error generated.
make[1]: *** [sipQtPurchasingcmodule.o] Error 1
make: *** [sub-QtPurchasing-make_first-ordered] Error 2

I’m on OS X 10.11.3 El Capitan.  Python is 3.5.3, Qt is 5.7.1.
Any help appreciated.
Thanks,
Dave.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170131/7f23be8a/attachment-0001.html>


More information about the PyQt mailing list