Opened 2 years ago

Last modified 2 years ago

#65836 new request

qt6 @6.2.1 (aqua) : for cmake symbolic links are needed

Reported by: sa35 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: qt6 cmake Cc: mascguy (Christopher Nielsen), chrstphrchvz (Christopher Chavez), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port:

Description

The qt6 cmake files are currently found under

/opt/local/libexec/qt6/lib/cmake/

This way an upstream project will not be able to detect Qt6 via cmake properly. By adding symbolic links for Qt6, etc under

/opt/local/lib/cmake

things are working as expected.

Change History (1)

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy chrstphrchvz MarcusCalhoun-Lopez added

I'll let others provide a more official answer. But speaking from experience, we often need to segregate CMake and PkgConfig files, to ensure that ports do not opportunistically use things we don't want them to. (Particularly given that we support multiple versions of stacks like Qt.)

Note: See TracTickets for help on using tickets.