I fixed the typo "patchg" -> "patch" and added qtbase to fix the Monterey patch.
I have added a Building_Sigil_On_MacOSX_With_QT6.txt to the docs/ folder.
This has all been pushed to my github site (see above).
There appears to be an issue with differences in the python3.9.9 build environment or builds.
The osx_add_python_frameworks6.txt is being passed in the wrong values from the build which in turn is causing problems.
This typically happens when the special relocatable Python 3.9.9 is not found first in your path.
For example: my successful build returns:
Code:
build_fwk /Users/kbhend/devpython/libraries/Frameworks/Python.framework/Versions/3.9
pversion 3.9
stdlib_dir /Users/kbhend/devpython/libraries/Frameworks/Python.framework/Versions/3.9/lib/python3.9
stdlib_name python3.9
app_dir /Volumes/SSD-Drive/repo/build9/bin/Sigil.app/Contents/Frameworks
which differs from what you showed.
Your build_fwk is wrong which leads to many problems, with the version now not being identified or the proper python3.9 folder, etc.
Did you build Python 3.9.9 following the instructions or did you use something from HomeBrew?
Are you sure the relocatable Python 3.9.9 is found first in the path?