From f2d3a968c400f63a6f1de88bfa3b7bd3b1f2af36 Mon Sep 17 00:00:00 2001 From: Chung-Fan Date: Sat, 22 Jul 2023 16:24:28 +0200 Subject: [PATCH] add documentation for pyqt6 mac workaround --- docs/setup.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/setup.rst b/docs/setup.rst index 80d77e6ca..6a0c0ce76 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -83,6 +83,36 @@ Yet another one is typing:: mu-editor + +Running Development Mu on Newer MacBook Machines +++++++++++++ + +If you are working on a newer Apple computers using ARM architecture, an error regarding PyQt may occur due to system incompatibility. + +In this case, switch to the pyqt6 branch and make a few changes to the setup.py file before installing the dependencies and run Mu again locally. + +In the setup.py file on the pyqt6 branch, you'll find the following lines:: + + "PyQt6==6.3.1" + + ';"arm" not in platform_machine and "aarch" not in platform_machine', + "PyQt6-QScintilla==2.13.3" + + ';"arm" not in platform_machine and "aarch" not in platform_machine', + "PyQt6-Charts==6.3.1" + + ';"arm" not in platform_machine and "aarch" not in platform_machine', + +Remove the lines for Rasberry Pi and leave only the following lines: + + "PyQt6==6.3.1", + "PyQt6-QScintilla==2.13.3", + "PyQt6-Charts==6.3.1", + +Once the changes are saved, install the dependencies and Mu should be up and running. + +Since this workaround is only for newer Mac users, when you are committing your changes, be careful to not commit it. + +And when you are making pull request, merge it to main or master instead of pyqt6. + + Raspberry Pi ++++++++++++