Re: Adding dependencies using qt5 portgroup
On Jan 6, 2018, at 10:45, Marcus Calhoun-Lopez wrote: > 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. Thanks!
Re: Adding dependencies using qt5 portgroup
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 Schmidtwrote: > 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. >
Re: Adding dependencies using qt5 portgroup
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?
Adding dependencies using qt5 portgroup
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?