-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
🍎 Mac Qt6 .dmg #60039
base: master
Are you sure you want to change the base?
🍎 Mac Qt6 .dmg #60039
Conversation
🧮 Vcpkg update reportAdded packages: Updated packages: 🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. 🍎 MacOS Qt6 buildsDownload MacOS Qt6 builds of this PR for testing. |
aed62fe
to
230b0ce
Compare
Creating the dmg on x64 github action runners (macos-13) randomly fails because of "resource busy" in hdiutil. There is not much we can do but retry until we succeed -- which can eventually take a very long time. |
Should we just disable these then? (At least it's only the legacy build) |
Possibly, I'm trying to create a zip or a universal app. Last resort would be killing x64 |
I tried a x64 build during the weekend, and that one worked :) The one that worked was when the downloadable .dmg was separated between M prosessor and Intel. I am on macos 15.2 The one that are for download now first dident launch because of permission errors, but launched after I did:
If there is any particular tests I can do. I am happy to help. If I can. Nice to see progress one the macos work on QGIS, Mathias :) |
@eflaten if you happen to have an arm64 (M series) machine, a test of https://github.com/qgis/QGIS/actions/runs/12642053020/artifacts/2393456714 would be appreciated. |
Oh sorry. No arm64 machine here. Just a x64. |
I can test this, but the link keeps timing out from downloading the DMG |
Strange, link works here... Can you download the arm64 zip from here https://github.com/qgis/QGIS/actions/runs/12642053020? |
The latest dmg (dmg https://github.com/qgis/QGIS/actions/runs/12656340998/artifacts/2397658648 from run https://github.com/qgis/QGIS/actions/runs/12656340998) should be universal and works here on my x64 machine ... |
qgis macos Qt6 universal: ( https://github.com/qgis/QGIS/actions/runs/12656340998/artifacts/2397658648) `
|
@NyakudyaA that's great news, thanks ! |
The problems with x64 are "fixed".
Best of all worlds 🎉 Gdal algorithms are fixed as well now. |
Tested arm64 on M1 with latest Sonoma. Started the app, opened a simple project. Seems to be working well. |
@gy-mate new background image inbound (again) |
I tried this but get this error message:
The Universal version worked. I'm using a Mac mini with M2 Pro and Mac OS 15.2 |
@oskarlin Have you tried opening it like this: #60039 (comment)? |
Hello @m-kuhn, With the latest build I've had problems with previous builds not running. 3.40.1 no longer even starts up, freezing on the launch screen. Removing the latest app did not help. Feels like problem is in one of the dependency libraries or a plug-in? Also, both 3.40.1 and the latest build crash with this code snippet. I haven't narrowed it down to which line is crashing the app yet. Given I cannot run 3.40.1 it may take a bit to narrow the repro case:
|
Re-installed 3.40.2 and previously tested python scripts from the console are working. I'll try re-installing QGIS-PR60039. |
I'm getting the same error as @oskarlin trying to install QGIS-PR60039 on a Mac Pro M1 with Sequoia 15.1.1 |
@gy-mate yes, this option is not possible because of the "corrupt" files. |
Crashing issue noted in the regular QGIS Issues as a comment in a similar ticket. |
Did you try the version frome here : #60039 (comment) |
@m-kuhn I tried it yesterday but it didn't start at all. Now I downloaded it again and it works. But I guess it's not Silicon-built? |
It is
It will print the supported architectures |
Can confirm that this version works on a M1 MacBook Pro running macOS Sequoia 15.2 🚀 |
Co-authored-by: Nicolas Godet <[email protected]>
Confirm, This version works on MacBook Pro M1 Max running macOS Sequoia 15.2 🚀 |
OK, so Universal mean it is not Rosetta mode, instead it includes builds for both architectures? |
It works now. Only problem i've seen now is that some of the menu commands doesn't have any keyboard shortcuts to it, or maybe it has but it renders errors in the menu, see attached image. |
This is correct, mac users will not need to choose what to download / know what CPU they run. It will run natively on x64 (Intel) AND arm64 (M series) |
As this is out of scope of this PR, could you open another issue ? |
@3nids as per your latest request on a different channel, |
Does this build open ECW and other proprietary file formats the current qt5 .dmg allows to open (upon license agreement)? |
This is built on a completely new dependency stack. It's unlikely that this is supported at the moment. |
@m-kuhn The build from: opens and seems to run fine for me on a Mac M1, Sequoia 15.2 |
@DelazJ do you have any especially preferred driver in the proprietary formats? |
@m-kuhn: thanks a lot for working on this! Testing the build #60039 (comment) seems to work nicely in general on macOS Sonoma 14.7.2 (M2 MacBook Pro) Trying to get some of the plugins working, I ran into #60119 |
@m-kuhn afaict, the one i'm conscious I use/need is the ECW one. I'm sorry I can't list what else is provided in the package. |
There's also mrsid and oracle as far as I can see |
Description
Please download the release from the MacOS link in this comment #60039 (comment) for testing-- there are other links in other comments to older broken builds.
Creates macos installers (dmg), based on Qt6/vcpkg for desktop components
QGIS
,qgis_process
,qgis_bench
,ogr2ogr
and a few executable binariesIt creates two builds, one for x64 (intel) and one for arm64 (M) processorsit creates a "universal" executable that works natively on both x64 and arm64 (socalled "multiarchitecture" or "fat" binaries)Python_SITEARCH
directory with an absolute system path (wheresite-packages
is installed on the system) from a new variableQGIS_PYTHON_INSTALL_DIR
with relative variable where our python bindings will be installed to (which can be the same path asPython_SITEARCH
if the prefix provided throughCMAKE_INSTALL_PREFIX
and/orDESTDIR
matches)CMAKE_INSTALL_DIR
from cmake code ininstall
directives, to allow for installation on relative pathsFor creating an app and fixing rpath, macdeployqt is used (only minimal usage within cmake)For fixing rpath, a custom script similar to maceployqt is used. Macdeployqt was too slow and didn't handle some cases (like symlinks)Fixes #46299