-
-
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 reportUpdated 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. |
for more information, see https://pre-commit.ci
@gy-mate thanks for the feedback, I added a new image, let's see what the latest results will give (in approx 2h) |
|
Thank you, @m-kuhn, for your efforts in bringing native QGIS support to Silicon Macs!🙏 I just tested the build on a MacBook Pro M1 running a fresh install of macOS Sequoia 15.2. After dragging In the error report I get the following logs:
And the info for Thread 10:
|
Thanks. That worked. It says the Auth system is disabled. |
Got the same issue! |
Same for the Windows Qt6 build |
The package that is running is likely the one from older builds, namely here #60039 (comment) After that I "fixed" the "Auth System Disabled" problem by moving qca plugins to the correct locations (@nicogodet that's likely the problem too on Windows, the However, loading the qca plugins is now triggering a crash, which I couldn't isolate so far. |
Description
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