Skip to content

Commit

Permalink
Merge pull request #2444 from Gigi1111/master
Browse files Browse the repository at this point in the history
Documentation for Mac Silicon PyQt workaround
  • Loading branch information
tmontes authored Jul 22, 2023
2 parents 08b44fd + 4147bc0 commit c83e675
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
++++++++++++

Expand Down

0 comments on commit c83e675

Please sign in to comment.