[Qbs] Failed 'PackageBuild' product on QBS 1.22
Christian Kandeler
christian.kandeler at qt.io
Thu May 5 09:47:34 CEST 2022
On 5/4/22 18:18, Карелин Павел wrote:
> Christian, how would you solve my problem?
> After the project is built, the deb-package is assembled. To build the
> deb-package, you need a list of dependent libraries (not all, only
> parts, system dependencies no required). For example this list:
>
> /opt/ffmpeg/4.4/lib/libavutil.so*
> /opt/ffmpeg/4.4/lib/libswscale.so*
> /opt/ffmpeg/4.4/lib/libswresample.so*
> /opt/opencv/4.5.5/lib/libopencv_core.so*
> /opt/opencv/4.5.5/lib/libopencv_calib3d.so*
> /opt/opencv/4.5.5/lib/libopencv_imgproc.so*
>
> I can get library paths and names of so-modules from dependencies:
>
> Depends { name: "lib.ffmpeg" }
> Depends { name: "lib.opencv" }
>
> How can I create such a list and put it in the package_build_info
> file? With the rules?
lib.ffmpeg and lib.opencv are modules in your projects?
More information about the Qbs
mailing list