Adding dependencies using qt5 portgroup
Marcus Calhoun-Lopez
mcalhoun at macports.org
Sat Jan 6 16:45:50 UTC 2018
Sorry for the delay in getting this done.
Hopefully, it is fixed in
https://github.com/macports/macports-ports/commit/8641b4f6d571a1b083361c6e2c20b727bdaef065.
Adding
qt5.depends_runtime_component sqlite-plugin
to the Portfile should now add qt5-sqlite-plugin (or
qt5X-sqlite-plugin) as a runtime dependency.
-Marcus
On Fri, Jan 5, 2018 at 3:27 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Dec 19, 2017, at 06:51, Ryan Schmidt wrote:
>
>> On Dec 14, 2017, at 19:02, Ryan Schmidt wrote:
>>
>>> I understand that when I'm using the qt5 portgroup and I want to add a library dependency on a Qt component, I should use qt5.depends_component instead of depends_lib-append, and that when I want to add a build dependency I should use qt5.depends_build_component instead of depends_build-append.
>>>
>>> I'm trying to make those changes in the QupZilla port, but I currently add a runtime dependency on qt5-sqlite-plugin. I don't see a way in the qt5 portgroup to add a runtime dependency on a Qt component. What should I do?
>>
>> Any guidance on this?
>
> Was this use case not anticipated when designing the portgroup? Can it simply not handle this right now? Can it be added to the portgroup?
>
> Marcus, you designed the portgroup, so I'm hoping you'll have some input.
>
More information about the macports-dev
mailing list