-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M1/Apple Silicon version of Qutebrowser? #6478
Comments
Unlikely, at least for the moment. So far, its dependencies aren't ready (see e.g. https://bugreports.qt.io/browse/QTBUG-85279), but even when they are (if at all, with PyQt and QtWebEngine), I lack the resources to maintain separate M1 builds for a comparatively small part of qutebrowser's users. |
To elaborate a bit: Happy to reopen this as a wishlist item once the upstream issues are actually taken care of - but right now it's totally unclear whether e.g. PyQt plans to publish wheels (binary releases) for M1. Let's wait for Qt first and see where that goes then. However chances still are I won't be able to maintain those builds (among other issues, because I don't own the hardware). Once the dependencies are ready, however, you should be able to do |
Looks like Qt will be ready with Qt 6.2, and PyInstaller is ready with the latest release too: pyinstaller/pyinstaller#5581 Still no concrete plans for official M1 releases at this stage (unless I can build them on a non-M1 Mac!), but at least making it possible to build such a release manually sounds like a good idea. Let's revisit this once Qt 6.2 is out and qutebrowser supports it (#5395), i.e. somewhen around October or so. |
Looks like 6.2 is releasing soon. BTW github actions has m1 mac's available, and I would love to build a binary if you ever need |
Indeed. Note that support for it will first require major changes to qutebrowser (#5395). I did a quick and dirty approach in late August which kind-of-worked, but proper support will still take a bit of time I'm afraid.
It does not: actions/runner-images#2187 |
|
Hey! What's the current status on the M1-compatible builds? :-) |
@tgy See the comments above - not much changed about that. |
hi! does qutebrowser at least work on M1 via emulation/wrapper? |
@stefanpinter I don't have the hardware to test, but I'm not aware of any M1-specific issues reported. |
ah thanks @The-Compiler! so why does this issue exist? any problems/cons with going over emulation? i love qutebrowser |
Emulation always comes with an overhead - so, less performance than would be possible with a native version, and thus also more battery usage. |
Update: pre-release for github actions for M1 Silicon should be available next week as per this actions/runner#805 (comment) |
@deividaspetraitis That's only for self-hosted runners, i.e. still means I'd need to buy/rent a M1 Mac to use it. |
FYI to (other) concerned parties, I did finally get the Qt6 branch to build and run (and seems to work, but haven't tested extensively) on my M1 Air. (took a rundabout journey to get there: #7202 (comment))
you might consider throwing a |
@donaldguy Ah, neat, I didn't realize that PyQt 6 comes with ARM64 wheels already! That certainly gets us a step closer here. The only missing bit - once we have Qt 6 support merged, that is - would then be how to package it all up (ideally without me needing a M1 Mac, or with GitHub Actions having a M1 runner until then). I'm a bit confused about "This seems to get me back to a working browser!" over in #7202 though: The current .dmg release should work for you as well, other than not running natively and probably #6771, correct? |
Once I finish this summer vacation and I'm back on my school-provided Macbook, I am happy to be a tester/compiler for the M1. I'm at least intermediate in Python (been programming in it for 20 years and have 3 small to medium sized projects I've built for schools I've worked at. And I have access to an M1 Silicon Mac. I just chose to bring my Linux laptop on the summer, mostly because I wanted to try setting up and configuring Qutebrowser. |
Hi there! My work laptop is M1. I shouldn't be using it too much for personal stuff haha, but I would love to use Qutebrowser at work... if there is something I can do to help, @The-Compiler, please do let me know! 😄 |
@david-alvarez-rosa as outlined above, you should be able to use it just fine without having an M1 build. |
Jesus... I have been using Firefox for months... I thought qutebrowser was not working for M1. @The-Compiler this is great news for me! Thank you ❤️ |
I can confirm that @donaldguy's build steps from #6478 (comment) work. As far as I can tell, this is already working surprisingly well. How can I package this into a MacOS application bundle? I guess I could extract the required steps from the Github Actions instructions but it would be easier if this was already written down somewhere. I could also share the result then if desired. |
@DrTobe The releasing scripts currently only work with PyQt from PyPI, so it's not just a matter of running them, they will need changes first to work with Homebrew's Qt. |
I managed to build an application bundle. I looked on PyPI and found what seemed to be Apple silicon builds on it. After following @donaldguy 's instructions above, I poked around and edited Then, from in the top-level git directory I ran
(The asciidoc may be optional? I did that install long before I had a working build.) This generated a Note: this is me messing around without knowing exactly what I'm doing. |
I guess the last line needs to be |
I can confirm that @donaldguy 's build steps also work for M2 Max. |
I have tried this again with the recently released Is this expected? Any ideas how to successfully build a bundle on Apple silicon macOS? |
Will need to see how the pricing thing works, so far I never paid for GitHub Actions usage. I suppose if we only use it for releases (instead of tests) it will be fine either way. |
Apparently the I guess that means if we want to support older macOS releases (which we probably do since I seem to remember people complaining when we drop them) we'll need two installers for mac, one intel for macos11+ and one m1 for macos14+. Although I'm not actually sure why we couldn't make a universal build with both architectures supported in the x86 runner in the first place. I seem to remember we discussed it and there was some issue, but I can't find that discussion. Apple says you can do that, with a simplified example. |
Yep, looks like this is GitHub Actions: Introducing the new M1 macOS runner available to open source! - The GitHub Blog |
Hello,
Will there be a M1/Apple Silicon version of Qutebrowser for macOS?
Angelo
The text was updated successfully, but these errors were encountered: