Opened 4 years ago
Closed 3 years ago
#66020 closed defect (fixed)
qt6 portgroup: unkown component qtdeclarative
| Reported by: | tenzap | Owned by: | jhoyt4 |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | jhoyt4 | |
| Port: | qt6 |
Description
I tried using qt6 portgroup.
Having set: "PortGroup qt6 1.0"
this line is problematic.
qt6.depends_component qtdeclarative
and returns
Failed to parse file multimedia/welle.io/Portfile with subport 'welle.io-devel': unknown component qtdeclarative
It works fine if I try with "qttranslations" instead of "qtdeclarative"
Change History (4)
comment:1 Changed 4 years ago by tenzap
comment:2 Changed 4 years ago by jhoyt4
Added the request to PR 16649: https://github.com/macports/macports-ports/pull/16649
comment:3 Changed 4 years ago by jhoyt4
| Cc: | jhoyt4 added |
|---|
comment:4 Changed 3 years ago by jhoyt4
| Owner: | set to jhoyt4 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

By digging, this is probably because
./_resources/port1.0/group/qt6_variables-1.0.tcldoesn't list all the components that are really available.For now there is
array set qt6_component_lib { qtbase { 6.2 7.0 lib/pkgconfig/Qt6Core.pc "" } qttools { 6.2 7.0 lib/cmake/Qt6Designer "" } qttranslations { 6.2 7.0 libexec/qt6/translations/qt_ar.qm "" } sqlite-plugin { 6.2 7.0 lib/cmake/Qt6Sql/Qt6Sql_QSQLiteDriverPlugin.cmake "-plugin" } psql-plugin { 6.2 7.0 lib/cmake/Qt6Sql/Qt6Sql_QPSQLDriverPlugin.cmake "-plugin" } mysql-plugin { 6.2 7.0 lib/cmake/Qt6Sql/Qt6Sql_QMYSQLDriverPlugin.cmake "-plugin" } }We can see that compared to the same file for qt5 that most modules are actually missing. Thus making them unavailable in
qt6.depends_component