<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've uploaded to PyPI new arm64 wheels for PyQt6-Qt6 and <br>
PyQt6-WebEngine-Qt6. These use 11_0 in the wheel name and <br>
QtWebEngineProcess is the original fat binary from a Qt installation. <br>
Let me know if these are better.<br></blockquote><div><br></div><div>Thanks, that's fixed the pip install case. The webengine helper is still broken unfortunately. Pop this in test.py:</div><div><br></div>from PyQt6.QtWebEngineWidgets import QWebEngineView<br>from PyQt6.QtWidgets import QApplication<br>import sys<br>app = QApplication(sys.argv)<br>web = QWebEngineView()<br>web.show()<br><div>app.exec() </div><div><br></div><div>When run on darwin-arm64, it will spam the console with the following, and the webview won't work:</div><div><br></div><div><div>[54357:259:1025/125621.698579:ERROR:network_service_instance_impl.cc(330)] Network service crashed, restarting service.<br></div><div><br></div></div><div>The signature still appears to be invalid - maybe Qt are distributing an invalid file, or the act of moving it is causing the problem?</div><div><br></div><div>$ codesign -vvvv lib/python3.9/site-packages/PyQt6/Qt6/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess<br>lib/python3.9/site-packages/PyQt6/Qt6/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess: invalid signature (code or signature have been modified)<br></div><div><br></div><div>It can be fixed by re-signing it with an ad-hoc signature, which doesn't need any signing key:</div><div><br></div><div>codesign -s - lib/python3.9/site-packages/PyQt6/Qt6/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess</div><div><br></div><div>But if you do it after trying test.py, it won't work, as macOS blacklists the file:</div><div><br>lib/python3.9/site-packages/PyQt6/Qt6/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess: the codesign_allocate helper tool cannot be found or used<br></div><div><br></div><div>Copying the file to a different filename, removing the original, and then renaming it back should allow code-signing to proceed.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Should be fixed in the next snapshot.<br></blockquote><div><br></div><div>Great, thanks!</div></div></div>