8000 Merge pull request #2444 from Gigi1111/master · ag-python-qt/mu-pyqt@c83e675 · GitHub
[go: up one dir, main page]

Skip to content

Commit c83e675

Browse files
authored
Merge pull request mu-editor#2444 from Gigi1111/master
Documentation for Mac Silicon PyQt workaround
2 parents 08b44fd + 4147bc0 commit c83e675

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/setup.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,36 @@ Yet another one is typing::
8383

8484
mu-editor
8585

86+
87+
Running Development Mu on Newer MacBook Machines
88+
++++++++++++
89+
90+
If you are working on a newer Apple computers using ARM architecture, an error regarding PyQt may occur due to system incompatibility.
91+
92+
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.
93+
94+
In the setup.py file on the pyqt6 branch, you'll find the following lines::
95+
96+
"PyQt6==6.3.1"
97+
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
98+
"PyQt6-QScintilla==2.13.3"
99+
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
100+
"PyQt6-Charts==6.3.1"
101+
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
102+
103+
Remove the lines for Rasberry Pi and leave only the following lines:
104+
105+
"PyQt6==6.3.1",
106+
"PyQt6-QScintilla==2.13.3",
107+
"PyQt6-Charts==6.3.1",
108+
109+
Once the changes are saved, install the dependencies and Mu should be up and running.
110+
111+
Since this workaround is only for newer Mac users, when you are committing your changes, be careful to not commit it.
112+
113+
And when you are making pull request, merge it to main or master instead of pyqt6.
114+
115+
86116
Raspberry Pi
87117
++++++++++++
88118

0 commit comments

Comments
 (0)
0