Incorrect binary paths for PyQt-Builder extension?

Patrick Stinson patrickkidd at gmail.com
Mon Oct 17 21:25:14 BST 2022


I'm getting the following error for a PyQt-Builder 1.14.0 based sip
extension module here (sip-6.7.1, pyqtdeploy-3.2.0):
https://github.com/patrickkidd/pyqtdeploy-demo/tree/main/cpythonplusqt

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-c -pipe -stdlib=libc++ -O2 -fPIC -std=gnu++11  -arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
-mmacosx-version-min=10.13 -fno-exceptions -Wall -Wextra
-ffunction-sections -fdata-sections -fPIC -DSIP_PROTECTED_IS_PUBLIC
-Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_STATICPLUGIN
-DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I..
-I/Users/patrick/dev/pyqtdeploy-demo/cpythonplusqt
-I/Users/patrick/.pyenv/versions/3.10.6/include/python3.10
-I/Users/patrick/dev/pyqtdeploy-demo/sysroot/sysroot-macos-64/Qt/include
-I/Users/patrick/dev/pyqtdeploy-demo/sysroot/sysroot-macos-64/Qt/include/QtWidgets
-I/Users/patrick/dev/pyqtdeploy-demo/sysroot/sysroot-macos-64/Qt/include/QtGui
-I/Users/patrick/dev/pyqtdeploy-demo/sysroot/sysroot-macos-64/Qt/include/QtCore
-I.
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AGL.framework/Headers
-I/Users/patrick/dev/pyqtdeploy-demo/sysroot/sysroot-macos-64/Qt/mkspecs/macx-clang
-o moc__cpythonplusqt.o moc__cpythonplusqt.cpp
rm -f lib_cpythonplusqt.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
cq lib_cpythonplusqt.a sip_cpythonplusqtcmodule.o
sip_cpythonplusqtSomePushButton.o _cpythonplusqt.o moc__cpythonplusqt.o
cp -f lib_cpythonplusqt.a.plugin/Contents/MacOS/lib_cpythonplusqt.a _
cpythonplusqt.cpython-310-darwin.so
cp: cannot stat
'lib_cpythonplusqt.a.plugin/Contents/MacOS/lib_cpythonplusqt.a': No such
file or directory
make[1]: *** [lib_cpythonplusqt.a] Error 1
make: *** [sub-_cpythonplusqt-make_first-ordered] Error 2
sip-install: 'make' failed returning 2
(pyqtdeploy-demo) bash-5.2$

Looks like the paths in the .pro are incorrect. I wonder if I missed an
option somewhere?

Cheers,
-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20221017/88dcfff8/attachment-0001.htm>


More information about the PyQt mailing list