tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Qbs: Use pkg-config to depend on zlib

Open bjorn opened this issue 1 year ago • 1 comments

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 avatar Jul 08 '24 10:07 bjorn

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.

bjorn avatar Jul 08 '24 11:07 bjorn