Skip to content
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

Qbs: Use pkg-config to depend on zlib #3999

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Jul 8, 2024

This way we should support building Tiled with zlib in some strange location, like on NixOS.

To support this on the latest version of Qbs, we need to set Project.qbsModuleProviders since it no longer falls back on pkg-config by default. Since this property was introduced in Qbs 1.21, this becomes the minimum Qbs version.

This way we should support building Tiled with zlib in some strange
location, like on NixOS.

To support this on the latest version of Qbs, we need to set
Project.qbsModuleProviders since it no longer falls back on pkg-config
by default. Since this property was introduced in Qbs 1.21, this becomes
the minimum Qbs version.
@bjorn
Copy link
Member Author

bjorn commented Jul 8, 2024

Since Ubuntu 22.04 apparently ships with Qbs 1.19.2, we'll need wait with this until we no longer support this OS or find a workaround.

Also, the qbspkgconfig module provider should not be added for MSVC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant