-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Add a linux triplet to (more) easily build QGIS against vcpkg #60393
Conversation
🧮 Vcpkg update report🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
Nice, could you add a section in the doc too? |
@m-kuhn , good idea, added minimal blob, let me know if you think it's not enough. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that 🙌
Description
With this triplet in, simply typing the following commands in linux will build QGIS against Qt6 using vcpkg:
Note that you'll need to setup vcpkg locally using these instructions: https://github.com/qgis/QGIS/blob/master/.github/actions/setup-vcpkg/action.yml#L18-L22
Other than that, it works quite nicely. On some system, users might face the need to apt install a couple of -dev packages, but these are self-evident when looking at vcpkg logs upon build failure.
@m-kuhn , your work has made this so easy, thanks.