Thank you Kevin and DiapDealer.
Maybe it is that I am trying to build on macos-arm64 that there are these issues.
Trying pyqt5.15.2, there is no arm64 support. With pyqt5.15.6, I get the following error with configure:
Quote:
Generating the C++ source for the QtCore module...
/Users/user/sigil-devtools/libraries/Frameworks/Python.framework/Versions/3.9/bin/sip5 -w -n PyQt5.sip -t WS_MACX -t Qt_5_15_0 -f -P -c /Users/user/sigil-devtools/PyQt5-5.15.6/QtCore -I sip -I /Users/user/sigil-devtools/PyQt5-5.15.6/sip /Users/user/sigil-devtools/PyQt5-5.15.6/sip/QtCore/QtCoremod.sip
sip5: /Users/user/sigil-devtools/PyQt5-5.15.6/sip/QtCore/QtCoremod.sip:23: syntax error
|
which points to this line:
Quote:
%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", use_limited_api=True, py_ssize_t_clean=True)
|
To get PyQt5 configure to work, 'Error: Unable to create the C++ code.' occurred with any sip 4.x and 6.x I tried. Many mentions such. One stated sip 5.5.0 worked so that's what I used and it was ok. Yet no arm64 in 5.15.2. Maybe some other 5.15+ would work.
Btw, I couldn't find any place to find older sip source code files, so I either installed with pip or grabbed it from the Mercurial repo.